JavaScript syntax: Difference between revisions

Content deleted Content added
Type conversion: add anchor and bold
Line 131:
 
function f() {
var z = 'foxes', r = 'birds';} // 2 local variables
m = 'fish'; // global, because it wasn't declared anywhere before