Skip to content

python programming

Python, Pygame and Tkinter with free tutorials – on twitter I'm @pythonprogrammi on youtube GiovanniPython

  • Home
  • Cheatsheet
  • Components
  • Ffmpeg
  • Free Apps
  • Free Games
  • Free music
  • Free sounds for videogames
  • Install ffmpeg
  • Javascript
  • Newsletter
  • Presentations with Python
  • Pygame
  • Pygame cheatsheets
  • Pygame devlog
  • PySnake
  • Python and Javascript
  • Python resources
  • Tkinter templates
  • Tkinter tutorial
  • Tkinter’s Staff Picks
  • Tutorials
  • Ursina
  • Useful sites
  • ZeroToHero
Main Menu

Merge 2 objects in Javascript

21/04/201924/04/2019pythonprogramming

We have two objects like this:

let a = {a : 100}
let b = {b : 200}

a = {...a, ...b}

console.log(a)

{a: 100, b: 200}

To merge them you just can write this code above.

PinterestXFacebookWhatsApp
Advertisement
Posted Under
javascript
Tagged
javascript objects

Post navigation

Pythonista Game on Ipad (part 2)
Pythonista: animation and sounds
Advertisement

Search for Python’s stuffs

Go get into Amazon Prime

#pygame #ai pic.twitter.com/JDwD967eet

— py-learn (@pythonprogrammi) November 30, 2021

Videos


Games


My games on itch.io
PyPowerpoint

Articoli in evidenza


Giovanni G. Py

I like to solve problems with Python

Newsletter
Copyright © 2026 python programming.
Proudly powered by WordPress. | Theme: Awaken by ThemezHut.

Create a website and earn with Altervista - Disclaimer - Report Abuse - Privacy Policy - Manage tracking preferences