@Gordon, if there are a few bytes left to be 'wasted' on Object.getPrototypeOf(object), that would be cool too.
@Gordon - sorry, again - from your knowledge of the internals of the bind() implementation, what is the memory footprint compared to creating an anonymous function instead? MSDN describes bind() as creating a function with same body on the bound object...
© Espruino, powered by microcosm.
Report a problem