

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
No active XP Potion
Accept a Quest
Login to submit answers
A runtime environment is where your program runs. The runtime you choose will determine things like:
The browser (we try to pretend they're the same, but in reality different browsers are different runtimes)
A web worker within a browser
Originally, JavaScript only ran in browsers. Today, it runs almost everywhere.
If you're doing frontend web development, congratulations, you're using the browser. You likely have to support all the major browsers, so you'll need to know what APIs are available in each.
If you're doing backend development, you get to choose. Node.js is the oldest and most popular, Deno and Bun are newer and less mature, but have some cool features (like native TypeScript support) and claim to be faster. In reality, they're all very similar to work with. You don't need to "learn" a runtime to be able to work with it, if you understand JavaScript, you can work with any of them.
Which is not a runtime responsible for executing JavaScript code?