JavaScript Interview Question #44: Number vs BigInt in JS
What happens if we add an n suffix to a regular number in JavaScript? What’s the output? . . . . . . . . . . . . ....
What happens if we add an n suffix to a regular number in JavaScript? What’s the output? . . . . . . . . . . . . ....
Promises are a very handy tool for organizing asynchronous code. But the human brain is much more accustomed to synchronous operations. We’d much rather prefer to do something, wait, and then continue instead of having to handle inherent complexity of asynchronous programming....
{“id”: 105, “previousLectureId”: 104, “nextLectureId”: 106, “lang”: “en”, “price”: 10, “jsQuestId”: 2, “tutors”: [“Technic”]} One of the most popular formats for exchanging data between backend and frontend is JSON which stands for JavaScript Object Notation....
Great, we already have a production server and have done some tasks to better understand how it works. Now let’s take a look at middleware - one of the most important concepts of Express....
In the last lecture, you saw the server-side analogy of the Hello, world that you wrote as your first task in VSCode. Our program was able to process the request and return a response, which was displayed by the browser....
What’s the difference between Object.toString and Array.toString in JavaScript? What’s the output? . . . . . . . . . . . . . . . . . A regular behavior of the JavaScript function Object....
How exactly Math.max works in JavaScript? What’s the output? . . . . . . . . . . . . . . . . . In JavaScript, the function Math....
True or false? What appears in the console? . . . . . . . . . . . . . . . . . JavaScript uses the double precision floating point numbers even to represent integers....
What’s the output? . . . . . . . . . . . . . . . . . In JavaScript, the typeof operator always returns a string. So, even though typeof undefined evaluates to undefined, it’s a string and not the primitive undefined value....
What will be logged to the console? . . . . . . . . . . . . . . . . . Before we analyze the code snippet, let’s try to simplify it by removing the setTimeout....