add a key value pair in javascript in JavaScript

JavaScript

🤖 Code Explanation

The code creates an object, obj, and adds three key-value pairs to it. The console.log statement displays the entire object.

Download SpellBox today