Den tisdagen den 12:e augusti 2014 kl. 09:54:17 UTC+2 skrev Sebastian Zartner:
> > Btw. I just found out about a similar syntax to the one you tried to use > within the function call. It's used for initializing an array with the > items of a second array and is called "array comprehension" (introduced > with ECMAScript 6): > > > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Array_comprehensions > > <https://www.google.com/url?q=https%3A%2F%2Fdeveloper.mozilla.org%2Fen-US%2Fdocs%2FWeb%2FJavaScript%2FReference%2FOperators%2FArray_comprehensions&sa=D&sntz=1&usg=AFQjCNFpjQ0cpkVujXDxP5HM_y4GbGRmdw> > > Also a little off-topic, though IMO interesting to know. > > Sebastian > Though note that they are moving from ES6 to ES7, and may end up being removed or change syntax: http://esdiscuss.org/topic/comprehensions-where-art-thou Simon -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/8d5bbc9a-f520-47d7-9311-d613e1857fc4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
