Click in order · JavaScript and TypeScript course · Module 7: Advanced TypeScript

Sorting: Guard clause

Arrange the elements of a guard clause:

Items to click

  • 'No data';
  • (!dinosaur)
  • return
  • if

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