object literal

[1/1]

  1. Alternative Methods to Add Key-Value Pairs to JavaScript Objects
    A JavaScript object is a collection of key-value pairs. Think of it like a real-world dictionary where each word (key) has a definition (value)