Back to feeds

Sagar gupta

Stealth • 4m

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

Stealth • 6m

#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

Stealth • 5m

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

Stealth • 8m

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

Stealth • 8m

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

Stealth • 4m

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

Somen's 8D world

Stealth • 7m

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

pusarla Tarun vamsi

Stealth • 5m

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

0 replies4 likes
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

Sidharth Bidikar

Stealth • 2m

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
Image Description
Image Description

Shiva Prasad

Stealth • 6m

Hi Guys, Now a days, Most of people are doing their Marriages, birthdays etc In Function halls. Is there any online service to book a Function Hall online.

2 replies3 likes

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