1. 7
    Transform Modern JavaScript Features with Babel
    5m 1s

Transform Modern JavaScript Features with Babel

Andy Van Slaars
InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

In this lesson, we’ll install Babel and use it from the terminal to see how it can take JavaScript that uses modern language features and output JavaScript that will run in down-level browsers.

Grant
Grant
~ 2 years ago

There's a typo in the transcript:

$(npm bin)/babel ./src/greet.js --presets=@bable/preset-env

bable should be babel

Shripada Hebbar
Shripada Hebbar
~ 2 years ago
Naresh
Naresh
~ a year ago

When I run the above command .... I get below error '$' is not recognized as an internal or external command, operable program or batch file. I already installed below stuff npm i -D @babel/core @babel/cli @babel/preset-env....Please advice