A simple intro to pure functions in JavaScript.A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output where there is some obvious relationship b...Jul 3, 2022 · 3 min readyogeshpendse.hashnode.dev
Map(), Reduce(), Filter() with Shinchan & pizzaShinchan, Masaochan, Kazamachan walk into a pizza shop. The menu only has six options. They have a specific condition to be sufficed before making a purchase. Condition of Shinchan No Capsicum Condition of Kazama Must include cheese. Collective C...Jul 3, 2022 · 3 min readyogeshpendse.hashnode.dev
Difference between var, let and const in JavaScriptJavaScript originally had only one variable type var. JavaScript introduced new variable declarations in ES6. let const Now we have variable declarations let, var and const. The inevitable question is when to use what? Before we answer this questio...Jul 3, 2022 · 3 min readyogeshpendse.hashnode.dev