[Vm-dev] Re: [squeak-dev] compiled squeakjs

Florin Mateoc florin.mateoc at gmail.com
Mon Jan 19 01:08:07 UTC 2015


Hi Ryan,

Thank you for your prompt reply,

On 1/18/2015 7:26 PM, Ryan Macnak wrote:

<snip>

> So what does it mean that "these functions do not operate on boxed values"?
>
> When the function test is not in strict mode, every invocation requires the allocation of a number object to use as
> the receiver. In strict mode, the receiver is the number value directly. (ECMAScript 5.1 10.4.3)
>
> Ryan


Ah, ok, so you meant that by using strict mode, "these functions" operate more efficiently for primitive values, not
that they do not work

Florin


More information about the Vm-dev mailing list