function

Term side of the Card
Topic: Syntax
Unit title: function
Categories: Syntax, Keyword
Explanation side of the Card

Explanation: The keyword used to define a function, which is a reusable block of code designed to perform a specific task. it's a reserved word in the syntax that indicates the start of a function declaration or expression.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: