JS Interview #12: Math.min()
How small is Math.min() in JavaScript? . . . . . . . . . . . . . . . . . . The function Math.min() takes the variable number of arguments and returns the lowest number passed into it....
How small is Math.min() in JavaScript? . . . . . . . . . . . . . . . . . . The function Math.min() takes the variable number of arguments and returns the lowest number passed into it....
There are many reasons why you should never cheat while learning programming. Cheating can lead to frustration, decreased motivation, and even failure. Wasted effort When you cheat, you are not really learning the material....
Bitwise operations aren鈥檛 very common in JavaScript, but sometimes they鈥檙e indispensable. ...
Variables with the same name in JavaScript? What will be logged to the console? . . . . . . . . . . . . . . . ....
What's the difference between `null` and `undefined` in JavaScript? What will be logged to the console? (think well, then click for the answer and explanation) In the first line, we evaluate null === null and the result is true....
Let's try to reject the promise inside of the JS `try/catch`. Will we catch the error in the `catch` block? (think well, then click for the answer and explanation) Regular try/catch blocks only catch errors that appear in the synchronous code....
SOLID is an acronym for 5 object-oriented design principles formulated by Robert Martin - @unclebobmartin. Following SOLID principles will help you build maintainable and extensible software. ...
Open source Node modules are very powerful as you can instantly get access to the functionality that you鈥檇 otherwise have to write yourself. Learn how to import the module once you鈥檝e installed it. ...
Node package manager or npm was first released in 2010. In 2020, it includes around 500k open-source modules to enhance the functionality of your Node.js applications. ...
What if we call `setTimeout` with 0 delay in JavaScript? Which of the messages will be printed first? (think well, then click for the answer and explanation) In JS, `setTimeout(func, delay)` takes a function `func` and delays its execution by `delay` milliseconds....