Skip to content

Instantly share code, notes, and snippets.

@kavyasri-coder
Last active May 20, 2024 12:40
Show Gist options
  • Save kavyasri-coder/162dd9682e532d3a0dd48db6abc0cb29 to your computer and use it in GitHub Desktop.
Save kavyasri-coder/162dd9682e532d3a0dd48db6abc0cb29 to your computer and use it in GitHub Desktop.
JavaScript Important Interview Questions
What are the ES6 features?
explain let, var, and const?
explain hoisting?
Given the array as [1,2,1,3,3] write a javascript function for finding duplicates and unique numbers in the given array?
what is DOM? how can we access the DOM?
Explain async and await with example?
Write a function to print the pyramid pattern?
What is JS Engine?
what is meant by Javascript Generators?
How can you ensure a web page is responsive, adapting to different screen sizes and devices? Describe the methods and techniques you would use to achieve this in the DOM.
What is call back function?
what is meant by Higher order function?
what is pure function?
What is the difference between "==" and "==="?
Explain closures?
Write a function to print left and right angle patterns?
Difference between Spread and Rest operator?
Difference between "null" and "undefined"?
Explain the concept of prototypal inheritance?
Difference between forEach and forEachOrdered?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment