Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Javascript Challenging Question for often asked in Interview #557

Open
KomalSrivastava opened this issue Oct 20, 2024 · 1 comment
Open

Comments

@KomalSrivastava
Copy link

Summary

  • Addition: Added JavaScript challenging interview questions that are often asked and tricky to solve.
  • Purpose: This section helps developers prepare for technical interviews by presenting concise, thought-provoking JavaScript questions that test deeper understanding of the language.

Changes Made

  1. Added JavaScript Questions:

    • Included small but tricky JavaScript questions covering topics like closures, hoisting, scoping, and the event loop.
  2. Added One Article in the Article Section:

    • A new article was added, explaining key JavaScript concepts.
    • Provided a link to this article for further reading.

Reasoning

  • Rationale: Some concepts were missing or not thoroughly explained, so I added challenging JavaScript questions to bridge the gaps.
    • A Gist is also provided for further clarification of missing concepts.
    • Lines and spacing have been added for improved readability in the README.

JavaScript Often Asked Small but Tricky Questions

  1. What is the difference between == and === in JavaScript?

    • == compares values with type coercion.
    • === compares both value and type strictly.
  2. What are closures in JavaScript?

    • A closure is a function that retains access to its lexical scope, even when executed outside of that scope.
  3. Explain event delegation.

    • Event delegation is a technique where a single event listener is added to a parent element to handle events from its child elements.
  4. What is the output of the following?

    console.log(typeof null); // "object"

@leonardomso Hello Sir, Kindly assign me this issue i will work on it!! Thank you..

@ryzen-xp
Copy link

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants