Lesson 21 of 35 · +80 xp

Object Literal

Key-value pairs.

Explained simply

Your task

Declare const user = { name: 'Ada', age: 30 };

object.js
▶ Output (javascript)
Click 'Run code' to execute your code in a real sandbox.
← Back