JavaScript58

Check out the latest posts
Aphinya Dechalert

How to break out of JavaScript forEach() loop

forEach() loops in JavaScript are fun to use – until you need to get out of them. Here is a short guide on how forEach() works, how to break out of a forEach() loop, and what the alternatives to a forEach() loop are. What is a forEach() loop? A forEach() loop...

Aphinya Dechalert

Make your JavaScript elegant with recursions

The idea of recursion is a funny one to get your head around. On the surface and in JavaScript, recursion is described as a pattern where functions call into itself. But does this actually mean? In diagramic form, it looks something like this: But that doesn’t really help explain...

Aphinya Dechalert

Modules in your JavaScript projects

The thing with frontend frameworks and libraries is that you’ve got a scaffold to work against. There are set rules that you have to follow to make things work. However, the front end by itself isn’t that useful. It might look good, but functionality-wise, it’s an isolated...

You’ve successfully subscribed to matcha.fyi
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.