DEV Community


Discussion on: What are your biggest struggles in learning JavaScript?

pedrootero profile image
Pedro Otero Prada

Not sure if off topic but I find it hard to stand the tone of some articles and blogs I read about JavaScript. Some are like: Forget all you know because it's useless, JavaScript is the best thing in the world and you've been wrong about everything all this time. Now you'll be enlightened.

More on topic though: Debugging is somewhat hard for me, because the functional style and ES6 stuff such as arrows functions make that a line does more than one thing and at different times:

somepromise.then(x => dothiswith(x));

If you put a breakpoint what will it catch: The promise's then or the actual function passed to the then? I can't do it without a good IDE. Newer Webstorm versions help though.