You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed .string() and type() from each object.
Rather than having to define string() and type() for each object
we make any function with an "object." prefix available to all
types.
So you could define:
function string.foo() { };
Which declares the method "foo" is available to string-objects,
or declare:
function object.foo() { };
To make it available to any type.
Fix scoping for constants.
Constants are always read-only in the parent-scope, but not in the
current one. This allows functions to shadow-constant variables.
This closes#21.