Mar 15 · 6 min read · How A Repetitive Day Turned into a Function Rohan is learning JavaScript and building a tiny “marks calculator” for his classmates. At first, his code looks like this: // calculate total marks three t
Join discussionMar 15 · 2 min read · What is Function? We can say that a function is a wrapper above the logic that you will perform again and again. Benefits of function is clean code,code reuse and easy to maintain. Without Function co
Join discussion
Mar 15 · 3 min read · We know how to write functions in JS, right? We use the function keyword, whose main role is to create a function. But did you know that there are two function form variants (or more, depending on the
Join discussion
Mar 15 · 4 min read · In JavaScript, functions are one of the most important building blocks. Functions allow us to write reusable blocks of code.Instead of repeating the same logic again and again, we can put it inside a
Join discussion