Tuesday, 29 January 2019

Javascript Interview Questions - Part 2


  1. Can you give an example for destructuring an object or an array?
  2. Can you give an example of generating a string with ES6 Template Literals?
  3. Can you give an example of a curry function and why this syntax offers an advantage?
  4. What are the benefits of using spread syntax and how is it different from rest syntax?
  5. How can you share code between files?
  6. Why you might want to create static class members?
  7. Reverse a string in JavaScript?
  8. Reverse words in a sentence?
  9. Reverse words in place?
  10. Find the first non repeating char in a string?
  11. Remove duplicate characters from a sting?
  12. What are the differences between null and undefined?
  13. What are the differences between == and ===?
  14. How would you compare two objects in JavaScript?

No comments:

Post a Comment