On Wed, 14 Feb 2018 17:26:10 -0600
"Edward K. Ream" <edream...@gmail.com> wrote:

> ​So these two lines are equivalent:
> 
> ​
> { TEST (x) { return(x+2) } }
> ​
> { TEST: function (x) { return(x+2) } }
> 
> Edward

http://www.benmvp.com/learning-es6-enhanced-object-literals/

explains a bit more explicitly.  But yes.

Cheers -Terry

-- 
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