Choice of environment

Node.js is platform independent in a way that it has all the installations, setups, and libraries available for all the major operating systems currently available. It's available for all Unix-based operating systems, as well as Mac and Windows platforms. Since our prime focus here is to make you understand what the link is between Node.js and promises, we will base our code examples on the Windows 7 (any edition) platform since it's widely available and Node.js is also available for Windows 7 in stable conditions. Plus, it's very simple and less time-consuming.

Tip

Please remember that using Windows-based systems won't make any difference to code and their outputs. This will remain the same for every operating system with ...

Get Mastering JavaScript Promises now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.