[PR #257] Remove "Top 85 Javascript Interview Questions" #268

Open
opened 2025-12-30 01:31:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DopplerHQ/awesome-interview-questions/pull/257
Author: @eschwartz
Created: 2/10/2022
Status: 🔄 Open

Base: masterHead: patch-1


📝 Commits (1)

  • a246473 Remove "Top 85 Javascript Interview Questions"

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 README.md (+0 -1)

📄 Description

Has several incorrect/incomplete/misleading answers

For example:

  1. Which is faster between JavaScript and an ASP script?
    JavaScript is faster. JavaScript is a client-side language,, and thus it does not need the assistance of the webserver to execute. On the other hand, ASP is a server-side language and hence is always slower than JavaScript. Javascript now is also a server-side language (nodejs).

It's wrong to suggest that server-side languages are inherently slower. Usually I would expect the opposite (especially comparing compiled vs. interpreted languages.)

  1. Enumerate the differences between Java and JavaScript?
    Java is a complete programming language. In contrast, JavaScript is a coded program that can be introduced to HTML pages. These two languages are not at all inter-dependent and are designed for different intent. Java is an object-oriented programming (OOPS) or structured programming languages like C++ or C, whereas JavaScript is a client-side scripting language.

Not sure what it means that Java is "complete" and Javascript is not. Either way, there are much more interesting differences between the languages (java is strongly typed, it is compiled, it runs on a JVM, etc.)

  1. What is the use of isNaN function?
    isNan function returns true if the argument is not a number; otherwise, it is false.

Kind of... but isNaN('3') returns false, even though 3 is not a number (it's a string).


Any of these answers given in an interview would indicate some lack of understanding of JS to me. In other words, not awesome 😉


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DopplerHQ/awesome-interview-questions/pull/257 **Author:** [@eschwartz](https://github.com/eschwartz) **Created:** 2/10/2022 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`a246473`](https://github.com/DopplerHQ/awesome-interview-questions/commit/a246473854583d1c35ab4f9ad9c9ad5a75b3249b) Remove "Top 85 Javascript Interview Questions" ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+0 -1) </details> ### 📄 Description Has several incorrect/incomplete/misleading answers For example: > 5. Which is faster between JavaScript and an ASP script? > JavaScript is faster. JavaScript is a client-side language,, and thus it does not need the assistance of the webserver to execute. On the other hand, ASP is a server-side language and hence is always slower than JavaScript. Javascript now is also a server-side language (nodejs). It's wrong to suggest that server-side languages are inherently slower. Usually I would expect the opposite (especially comparing compiled vs. interpreted languages.) > 2. Enumerate the differences between Java and JavaScript? > Java is a complete programming language. In contrast, JavaScript is a coded program that can be introduced to HTML pages. These two languages are not at all inter-dependent and are designed for different intent. Java is an object-oriented programming (OOPS) or structured programming languages like C++ or C, whereas JavaScript is a client-side scripting language. Not sure what it means that Java is "complete" and Javascript is not. Either way, there are much more interesting differences between the languages (java is strongly typed, it is compiled, it runs on a JVM, etc.) > 4. What is the use of isNaN function? > isNan function returns true if the argument is not a number; otherwise, it is false. Kind of... but `isNaN('3')` returns false, even though `3` is not a number (it's a string). ---- Any of these answers given in an interview would indicate some lack of understanding of JS to me. In other words, not awesome 😉 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:31:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/awesome-interview-questions#268