Sleepless Yogi
Sleepless Yogi

@sleeplessyogi

28 Tweets 3 reads Nov 28, 2022
I have cracked every Front End interview in the last 4 years of my career - here's what I learned about JavaScript
πŸ’» A Thread πŸ’»
❓ 1. What is the significance of, and reason for, wrapping the entire content of a JavaScript source file in a function block?
❓ 2. What is the significance, and what are the benefits, of including 'use strict' at the beginning of a JavaScript source file?
❓ 3. What are the scopes of a variable in JavaScript?
❓ 4. What is Callback?
❓ 5. What are the variable naming conventions in JavaScript?
❓ 6. How does TypeOf Operator work?
❓ 7. Implement enqueue and dequeue using only two stacks
❓ 8. What is a β€œclosure” in JavaScript? Provide an example.
❓ 9. Explain Hoisting in javascript.
❓ 10. Explain Higher Order Functions in javascript.
❓ 11. What are arrow functions?
❓ 12. Differences between declaring variables using var, let and const.
❓ 13. What is currying in JavaScript?
❓ 14. Explain Implicit Type Coercion in javascript.
❓ 15. Is javascript a statically typed or a dynamically typed language?
❓ 16. Explain passed by value and passed by reference.
❓ 17. What are object prototypes?
❓ 18. What is memoization?
❓ 19. What is the use of a constructor function in javascript?
❓ 20. What is the use of promises in javascript?
❓ 21. What are classes in javascript?
❓ 22. What are generator functions?
❓ 23. Explain WeakSet in javascript.
❓ 24. Explain WeakMap in javascript.
❓ 25. What is a Temporal Dead Zone?
Struggling with JavaScript? I have been documenting all my lessons from my student days on my blog.
Check it out - sleeplessyogi.com
That's a wrap!
If you enjoyed this thread:
1. Follow me @sleeplessyogi for more of these
2. RT the tweet below to share this thread with your audience

Loading suggestions...