var f = function (value) { return 2 * value; }
f(1)
2
var g = f;
g(2)
4
var g = (value) => 2 * value;
var h = function () { return 1; }; function h() { return 2; };
h()
1
(function () { return 4711; })()
4711
The console allows you to interact with the course material and examples. Use the following keys:
A special logging function is also available: