Home
Press ? for keyboard navigation
❮
Functions
Function in object
❯
Function in var
examples/javascript/function_in_var.js
var
add
=
function
(
x
,
y
)
{
var
z
=
x
+
y
;
return
z
;
}
console
.
log
(
add
(
2
,
3
));
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)