Or more concisely:

console.log(20 + +"1234")
< 1254

On Jan 2, 2017, at 7:21 PM, Harbs <harbs.li...@gmail.com> wrote:

> Apparently, yes:
> 
> > var foo = 20 + +"1234";
> < undefined
> > foo
> < 1254
> 
> On Jan 2, 2017, at 7:13 PM, Alex Harui <aha...@adobe.com> wrote:
> 
>> var foo = 20 + +"1234";
> 

Reply via email to