JS Interview #35: What is faster, zero timeout or immediate resolve?
What鈥檚 the order of the output? . . . . . . . . . . . . . . . . . Both setTimeout and Promise.resolve are asynchronous actions, which means that the inner console....
What鈥檚 the order of the output? . . . . . . . . . . . . . . . . . Both setTimeout and Promise.resolve are asynchronous actions, which means that the inner console....
ESLint - is a very convenient tool to control code quality. But, sometimes it鈥檚 necessary to disable it. In this tutorial, you鈥檒l learn how to turn off ESLint for certain directories and files....
In this short JS tutorial, you鈥檒l learn how to compare strings and see code examples. ...
How do you prefer to get the current date in JS? What will be logged to the console? . . . . . . . . . . . ....
Today I started writing a new project on Node.js and got this error on the very first run: const express = require('express'); ^ ReferenceError: require is not defined at ModuleJob.run (node:internal/modules/esm/module_job:152:23) at async Loader....
Array? Object? Undefined? What鈥檚 the output? . . . . . . . . . . . . . . . . . . In JavaScript, the + operator doesn鈥檛 do the concatenation of arrays....
To become a programmer, you need to code. And not on your smartphone or browser, but in a professional Interactive Development Environment (IDE). One of the best features of CoderslangJS - is practical tasks with automatic verification....
What will be logged to the console? . . . . . . . . . . . . . . . . . . At a first glance, the answer is true as 0....
You can check which browser the user is running using plain JavaScript. ...
What鈥檚 the output? . . . . . . . . . . . . . . . . . . So, there鈥檚 an if statement and it鈥檚 condition Math.max() > 0 is all we need to analyze....