Female behind a laptop with a heartValeriaVG

Five Pro Tips to Master Promises in Js

#javascript, #node, #tutorial, #beginners

Events handling and promises in particular are hands down the best JavaScript feature. You're probably familiar with the concept itself, but in short, a Promise in JavaScript is a promise to call back with the result.

[read more]

How to Use Custom Files as Modules in Nodejs

#javascript, #node, #webdev, #tutorial

There are quite a few cases where you can benefit from importing an arbitrary file directly: in universal apps, tests, or simply to avoid boilerplate. Good news: you don't need Babel, Webpack, or anything else for it.

[read more]

How to Do Magic With Numbers

#javascript, #node, #webdev, #tutorial

JavaScript Number type would have been called double or float64 in a compiled language. Therefore, numbers have some limits

[read more]