On Wed, Feb 14, 2018 at 5:03 PM, Edward K. Ream <edream...@gmail.com> wrote:

>
>
>
>> Typing in the Chrome console:
>>
>> a =
>> ​​
>> { TEST (x) { return(x+2) } }
>> a.TEST(2)
>> 4
>>
>
​So these two lines are equivalent:

​
{ TEST (x) { return(x+2) } }
​
{ TEST: function (x) { return(x+2) } }

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to