flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: I just learned something in Javascript
Date Mon, 02 Jan 2017 17:23:00 GMT
Or more concisely:

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

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

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message