Assertion: function's variable | /r/HasProperty | defined in global scope
Facets:
Source sentences:
text: In other words, a function defined in the global scope can access all variables defined in the global scope.
text: The following variables are defined in the global scope var num1 = 20, num2 = 3, name = 'Chamahk'; // This function is defined in the global scope function multiply() { return num1 * num2; } multiply(); // Returns 60 //