Put in order · JavaScript and TypeScript course · Module 5: Advanced JavaScript

Object Creation Syntax with Array

Arrange the syntax for creating an object with a nested array:

Items to put in order

  • const raptor = {
  • name: "Blue",
  • "lead"] };
  • skills: ["hunt",

You can check the correct answer by solving this task in the CodeWorlds game.