Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript Closures

function myFunction() {
  let a = 4;
  return a * a;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #Closures
ADD COMMENT
Topic
Name
2+2 =