Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

return js

function square(x) {
   return x * x;
}
var demo = square(3);
// demo will equal 9
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #return #js
ADD COMMENT
Topic
Name
6+9 =