Back

Sagar gupta

Full-time Freelancer... • 7m

Most Javascript Questions Asked in Interview | PART 2 1. What is difference between a for loop and for Each loop Ans: A for loop is traditional loop that uses a counter variable to iterate over an array. ForEach loop is a method that iterate over an array and execute a callback function for each element.forEach loop is more concise but it can be slower and less flexible than traditional for loop. 2. How does javascript handle asynchronous programming. Ans: javascript uses callback to handle asynchronous programming , javascript also support promises and async await syntax which provides more concise and readable way of handling asynchronous code. 3.what is callback function. Ans: Callback is a function that is passed as an argument to another function and is executed when a specific operation is completed.

0 replies10 likes
2

More like this

Recommendations from Medial

Prince Singh Chouhan

Front-end Developer • 9m

#Array in #javascript: Array in Javascript enables storing a collection of multiple items under a single variable name, and has members for performing common array operations. Arrays aren't primitives but are instead Array #objects with the followin

See More
0 replies2 likes

sai akhilesh

Student @Geethanjali... • 8m

What is conditional statements in Programming https://youtube.com/shorts/PC3KnjMxKV4?feature=share #javascript #programming #webdevelopment

0 replies3 likes
Image Description
Image Description

Rohit Gupta

Aspiring Web Develop... • 11m

Day30 of 100daysofcodechallenge... Today I learned about Object Literal, Array of object and Math object In JavaScript. I also make a basic "Guess The Number" game.

5 replies8 likes

Rohit Gupta

Aspiring Web Develop... • 11m

Day30 of 100daysofcodechallenge... Today I learned about Object Literal, Array of object and Math object In JavaScript. I also make a basic "Guess The Number" game.

0 replies4 likes
Image Description

Sagar gupta

Full-time Freelancer... • 7m

Javascript Questions Asked in Every Interview | PART 1 1. What is the difference between Null and undefined. Ans: Null and undefined are both primitive values in javascript that represents the absence of value. Key difference null is deliberately a

See More
1 replies15 likes
1
Anonymous
Image Description

JavaScript's evolution with ES6 introduces features that enhance development efficiency and readability. Key ES6 features include arrow functions, which provide concise syntax and lexical binding of `this`; classes, simplifying object-oriented progra

See More
1 replies10 likes

Somen's 8D world

Hey I am on Medial • 10m

Array.reduce() is Goated the Swiss army knife Summing Numbers: Using reduce() to calculate the sum of numbers in an array. Flattening Arrays: Flattening a nested array into a single array. Grouping Objects: Grouping objects based on a speci

See More
0 replies5 likes

Rohit joshi

Dev dev dev • 21d

🚀 **Master Asynchronous Programming in C#** 🚀 Asynchronous programming is a **must-have skill** for modern C# developers. Whether you're building APIs, working with databases, or handling real-time applications, understanding **async/await** can

See More
0 replies

pusarla Tarun vamsi

Passionate Software ... • 9m

JavaScript: The language where 'undefined' is not a type error but a rite of passage. 🛤️😂 #DevProblems #JavaScript

0 replies4 likes

Sidharth Bidikar

Keep Moving • 5m

What is the most efficient way to combine text from multiple cells into one cell without using the CONCATENATE function? A) Using the TEXTJOIN function B) Using the LEFT function C) Using the SUBSTITUTE function #excel #msexcel #dataanalyst #dataan

See More
0 replies5 likes
1

Download the medial app to read full posts, comements and news.