Loop executes the same code of block again and again. Loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly. Repetitive task within a program to save time and effort.
Mayur Kambariya
Explain: Arrow function or fat arrow function
The best feature ever release by javascript is the Arrow function. An arrow function is also known as a fat arrow function. Basically the use of arrow function is a concise way to write the function in javascript.
Most useful array method: filter and map
Map and filter method used for operation on the array. Like select element or operation each element, Before filter and map method we use normally for and forEach method.
Explain: Three dots or spread operator
Unbelievable Feature release by ES6. it’s called spread operator or rest operator
The spread operator is used for spread syntax. This operator use in array and object. We also called spread elements
Remove a specific item from an array
A common question asked by the developer “How to remove a specific item from an array?”. Many developers ask questions related to an array. Some developers are beginners in our network, So we will try to clear the JavaScript concept using the article or direct communication.
What is promise and Async/Await?
Base on developer requirement we are going to cover promises and async/await with this article. Some developers are still confused about how to use promises and async javascript. JavaScript Promises are very similar to real-life promises made by us. After that promises, we make a plan and assure that we are successfully have done or broke.