6 ms·
ES6 arrow functions are very convenient and look remarkably similar to Example 1, so learning that syntax is probably inevitable in the long term. And I doubt s
by neurobro 12y ago
ES6 arrow functions are very convenient and look remarkably similar to Example 1, so learning that syntax is probably inevitable in the long term. And I doubt someone who has never programmed before would understand either snippet, although both would be simple to explain. I haven't used CoffeeScript, so I can't say whether I'd find it better/worse than JavaScript for my purposes, but this article wasn't convincing at all.