eesh guptaforeesh gupta's Blogwebdevjourney.hashnode.net·Jan 23, 2022Evolution 🌪 ES5 ⏳ES7CallBacks(ES5)? Callback refers to a function passed as an argument to another function. It helps in asynchronous programming. Let's understand it using a real-life example. Sample Code:- function display(sum) { document.getElementById("display-wind...Discuss·38 likes·255 readsasynchronous
Lane WagnerforLane Wagner's Blogwagslane.hashnode.net·Jul 2, 2020JavaScript With Statement Explained – A Deep DiveBy @wagslane (twitter) Let’s look at the JavaScript with statement. We will go over the simple uses, as well as a deep dive into some more advanced concepts. Note: Use of the _with_ statement is discouraged. It can lead to strange bugs. That said, it...Discuss·20 likes·32 readsJavaScript
ArunforArun Kumar G's bloggovindappaarun2.hashnode.net·Jun 10, 2022‘use strict’; / Strict mode in JavaScriptDear Reader, I have got one more cool stuff in JavaScript to move closer to the language, which is Strict Mode. We don’t see this that common in today’s code bases, compare to back in the days it was introduced, As later ES6 made it default in some ...Discuss·4 likes·67 readsJavaScript
R ChanforRohini's blogtechcode.hashnode.net·Jan 21, 2023How to use map() and filter() methods on the same array in JavaScript?map, filter and reduce methods were introduced in ES5. These methods are applied to arrays. ✨Map() map method in javascript returns a new array depending on the condition applied to the current array for each element. It doesn't change the original a...Discuss·46 readsJavascriptJavaScript
Ajay BaraiyaforReact with Ajayajaybaraiya6.hashnode.net·Sep 3, 2022ES5 Array.map() function for #React Quick NotesArray.map() function iterate through every element in array only once. It do not alter original array but return new array when called. let myArray = [1,2,3]; var newArrayMultipleOfOldArray = myArray.map(x=>x*2); console.log(newArrayMultipleOfOldAr...Discuss·56 readses5
ArunforArun Kumar G's bloggovindappaarun2.hashnode.net·Jun 10, 2022‘use strict’; / Strict mode in JavaScriptDear Reader, I have got one more cool stuff in JavaScript to move closer to the language, which is Strict Mode. We don’t see this that common in today’s code bases, compare to back in the days it was introduced, As later ES6 made it default in some ...Discuss·4 likes·67 readsJavaScript
Hitesh TalrejaforHitesh Talreja's Bloght02.hashnode.net·May 19, 2022When and why you should use ES6 arrow functions/tradional function — and when you shouldn’tIn this article, you'll learn about JavaScript arrow functions and regular functions, what the major difference between them is, and when we should use one over the other. You'll see lots of examples that illustrate how they work. Table of contents ...Discuss·99 readsfunctions
Dioka Ejionuemeforjayandcode.hashnode.net·Apr 21, 2022JavaScript FunctionsFunctions in JavaScript(and near damn every programming language) are pieces of code/statements of code that perform a specific task. These statements are grouped together into a function for the main purpose of being reusable. Functions in JavaScrip...Discuss·1 like·110 readsJavaScript
eesh guptaforeesh gupta's Blogwebdevjourney.hashnode.net·Jan 23, 2022Evolution 🌪 ES5 ⏳ES7CallBacks(ES5)? Callback refers to a function passed as an argument to another function. It helps in asynchronous programming. Let's understand it using a real-life example. Sample Code:- function display(sum) { document.getElementById("display-wind...Discuss·38 likes·255 readsasynchronous
AbhayforElliot's Blogitselliot.hashnode.net·Jun 18, 2021What the heck is Call, bind, apply ?As JavaScript developers, most of the time we are pretty confused about the Call, bind, apply and their use in JavaScript. So let's try to understand. 1. CALL & APPLY Both these methods are simply known as Immediately Invoked Function. What basicall...DiscussJavaScript
Yousaf KhanforYousaf Khanyousaf.hashnode.net·Dec 26, 2020Understanding "Closures in Loop" Problem and How it is Solved in ES6Note: Before you read this article, i suggest you to read: How Closures Work in Javascript. Reading that article will give you the background knowledge you need to understand this article. "Closures in Loop" problem is a familiar problem among javasc...Discuss·416 readsJavaScript
Surya Teja KarraforSurya's Dev Journeysurya-dev-journey.hashnode.net·Sep 11, 2020Here's how Angular 10 broke my app in older browsersAfter upgrading my Angular 9 web app to v10, I finally got to meet the infamous "Angular white screen of death". This new version broke the app completely. Nothing works. Read on to learn how I figured out the solution. Background: I keep a stock ng ...Discuss·61 readsAngular
Lane WagnerforLane Wagner's Blogwagslane.hashnode.net·Jul 2, 2020JavaScript With Statement Explained – A Deep DiveBy @wagslane (twitter) Let’s look at the JavaScript with statement. We will go over the simple uses, as well as a deep dive into some more advanced concepts. Note: Use of the _with_ statement is discouraged. It can lead to strange bugs. That said, it...Discuss·20 likes·32 readsJavaScript