Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JS function typeof


function fortyTwo() {
  return 42;
}

typeof fortyTwo; // "function"
typeof fortyTwo(); // "number"

Source by forum.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #JS #function #typeof
ADD COMMENT
Topic
Name
9+1 =