Click in order · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

Sorting: Object Declaration

Arrange the elements of an object declaration with properties:

Items to click

  • }
  • const dino = {
  • species: 'T-Rex',
  • age: 25
Show the answer

Correct order:

  1. const dino = {
  2. species: 'T-Rex',
  3. age: 25
  4. }