3h ago · 3 min read · When writing JavaScript functions, sometimes the syntax can feel a little long. Especially when the function is small and only does a simple task. For example calculating a number, returning a value o
Join discussion
2h ago · 8 min read · You know how we all know some shortcuts to reach our favourite place? In the same way, if we want to write a function in a more concise and cleaner way, we have arrow functions in JavaScript. It does
Join discussion
11h ago · 4 min read · Hey modern JS developers! 👋 If you’ve started exploring JavaScript written in the last few years, you've definitely seen these sleek little functions everywhere: () => { ... }. They're called arrow f
Join discussion
14h ago · 4 min read · Imagine you work at a small cafe. Every day customers come in and ask for simple things. One person asks: "Add extra sugar to my coffee." Another says: "Make my sandwich double cheese." Someone else a
Join discussion16h ago · 3 min read · When I first started learning JavaScript, writing functions felt a little long and repetitive. Every time I had to write function, return, and curly braces. Later I discovered arrow functions, which m
Join discussion