SOURCE
JavaScript
Result
number
=
4
;
const
foo =
function
(
x
)
{
return
x+
2
; }
document
.write(foo(
number
));
console 命令行工具
X
clear
>
console