Skip to main content

Command Palette

Search for a command to run...

Cracking Frontend Developer Interview - Part 2

Updated
3 min read
Cracking Frontend Developer Interview - Part 2
R

Hey, I’m Riya Jain! 👋

Frontend developer, mentor, and your go-to guide for navigating the tech world! With 6.5 years of experience, I’ve been through the highs and lows of breaking into and growing in frontend development—and now, I’m here to help you do the same.

🎯 My Mission

I know how overwhelming it can be to navigate the tech industry—whether you're preparing for interviews, trying to upskill, or figuring out the best way to land a job through referrals and applications. I’ve been there. That’s why I’m on a mission to share practical insights, strategies, and resources to help you break into frontend development and grow in your career.

💡 What You’ll Find Here

🔥 How to Ace Frontend Interviews – Tips, common pitfalls, and must-know concepts 🚀 How to Continuously Learn & Stay Ahead – Keeping up with modern frontend tech 🎯 Navigating Referrals & Job Applications – How to stand out and get noticed

🍵 Let’s Connect!

I love sharing knowledge, but even more, I love learning from this amazing tech community. If you ever have questions or just want to chat, feel free to reach out on LinkedIn! https://www.linkedin.com/in/riya-jain-6691b8127/

Oh, and if you enjoy my content and want to support my work, maybe consider buying me a cup of coffee? 🍵😉

Stay curious, keep learning, and let’s grow together!

– Riya, your frontend guide & coffee-loving nerd. 🚀

This is the second part of Cracking Front-End Developer Interview which covers javaScript questions.

image.png

Questions asked on JavaScript:

🔹What is hoisting? Explain with example? Temporal Dead Zone?

🔹Difference between call, apply and bind. Give example.

🔹What is closure and what are the advantages of using closure?

🔹Event bubbling, event capturing/trickling, and event delegation

🔹Explain with examples of a deep and shallow copy.

🔹How Javascript code is executed?

🔹Explain features of ES6.

🔹JS engine archietecture.

🔹What is prototypal inheritance? Give example.

🔹Write Polyfill for my bind method.

🔹What is an event loop?

🔹splice vs slice method.

🔹What is type of null,undefined,function ,NaN.

🔹Difference between == and ===.

🔹Implement a product method that will return the product of two numbers.

🔹What is function currying? Give example

🔹What are promises in js? Difference between async-await vs promises.

🔹What are the advantages of using Axios over Fetch API?

🔹What is debouncing and create your own debouncing?

🔹Difference between debouncing and throttling with examples.

🔹Scope chain.

🔹Explain the CORS mechanism.

🔹Difference between setTimeout vs setInterval.

🔹What is optical chaining?

🔹Map vs filter vs forEach

🔹What is type coercion?

🔹How async/await works?

🔹Remove falsy values from Array.

🔹Shuffle elements in an array.

🔹How to empty an array?

🔹Falsy values in js.

🔹Different ways of creating an object.

🔹Deep copy of an object.

🔹Spread operator vs rest operator.

🔹What is a strict mode in js?

🔹What is eval()?

🔹Remove duplicate values from an array.

🔹Difference between null and undefined.

🔹Check if a given object is empty or not.

🔹Explain JWT in detail.

🔹Difference between stop propagation and prevent default method.

🔹What is array destructuring?

🔹Difference between the arrow and normal function.

🔹Practice more output questions in JS (related with this, closure, error). Attached link for output questions of javascript. https://github.com/lydiahallie/javascript-questions

🔹Increment and decrement operator.

🔹What are reference error and syntax error?

🔹Explain what the callback function is and provide a simple example.

🔹Given a string, reverse each word in the sentence.

🔹Given two strings, return true if they are anagrams of one another.

🔹How does this keyword work? Provide some examples.

🔹What is the difference between var, let, and const.

🔹Calculate the sum of all elements in a multidimensional array of infinite depth.

🔹Find a maximum consecutive repeating char in a given string.

🔹Filter movie list by average rating, name.Sort filtered list by any field inside movie object.

If you want to learn JavaScript, there are plenty of websites that provide free JavaScript tutorials. Top places to learn JavaScript

🎈Follow Akshay Saini on youtube for learning JavaScript in-depth.

https://www.youtube.com/channel/UC3N9i_KvKZYP4F84FPIzgPQ

🎈Make projects on Javascript. Here are 30days of challenge Javascript.

https://javascript30.com/

“The more you let go of comfort, the more it comes along. In fact, it chases you.”

If you need any kind of help related to this you can ping me on LinkedIn https://www.linkedin.com/in/riya-jain-6691b8127/ and I will be happy to share my knowledge with you all.

Part 3 will be of ReactJs Related Questions.

https://riyajain.hashnode.dev/cracking-frontend-developer-interview-part-3-ckpf4r6xy04r3jls1ddys7cdb

K

Hey Riya , thanks for writing ... First link is broken : (

1
R
Riya Jain5y ago

Thanks, Kishor for letting me know. I will check and fix it.

2

More from this blog

#javascript#questions