There is no “static” in some runtimes, e.g. in Jav...
# multiplatform
o
There is no “static” in some runtimes, e.g. in JavaScript.
d
It is prototyped, but the equivalent for static still exists:
var MyClass = {}; MyClass.staticFunc = function() {}; MyClass.prototype.instanceFunc = function() {};
or in the EcmaScript stdlib
Date.now()
is “static” vs
new Date().getTime()