Babel Flashcards

1
Q

What is Babel?

A

Babel is a JS compiler that translates the source code into a compatible version for older browsers or environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a plug-in?

A

A plug-in a software component that adds extra features to an existing application/program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Webpack loader?

A

A Webpack loader is software that allows us to pre-process files as we import them or “load” them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you make Babel & Webpack work together?

A

By using Babel Loader.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Babel loader?

A

It’s a package that allows transpiling JavaScript files using Babel & Webpack.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are loaders in programming?

A

Loaders are transformations that are applied to the source code of a module. They allow you to pre-process files as youimportor “load” them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why do we need Babel to translate code into older versions?

A

This is because browsers can’t keep up with the new updates of JavaScript.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly