Echo JS 0.11.0

<~>
jun-in-mess 2 hours ago. link 2 points
TL;DR : The writer seems to had learn JS two week ago, and confidently complains like he was an expert... 

In the following exemple : 
users.filter(u => u.active).map(u => u.name)[0]

He complains that a tool return an iterable when he want only one result. The problem is not the tool, it is that He choose the wrong one...

He write a for loop in the "if you want more control" section... Did he read the documentation for the array.find() method ? Writing more line doesn't means having more control...

HE complains about logic mixed with debugging... So why writing console.log() in the first place.... He doesn't seem to understand what are debugging tools or break points...

Replies