Put in order · JavaScript and TypeScript course · Module 9: Design Patterns and Architecture

Object.freeze Syntax

Arrange the elements of freezing an object:

Items to put in order

  • { name: 'Rex' }
  • = Object.freeze(
  • const frozen
  • )

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