Click in order · JavaScript and TypeScript course · Module 1: JavaScript Basics

Sorting: Function Declaration

Arrange the function declaration elements in the correct order:

Items to click

  • }
  • name()
  • function
  • {
Show the answer

Correct order:

  1. function
  2. name()
  3. {
  4. }