SlideShare a Scribd company logo
Babel Compiler
S.B.S.Younus, M.Sc., M.Phil., NET.,
Assistant Professor,
Department of Information Technology,
Sadakathullah Appa College,
Rahmath Nagar, Tirunelveli - 627 011.
Youtube: SBS Digital Learning.
What is Babel
• Babel is a JavaScript compiler.
• Babel is a toolchain that is mainly used to convert
ECMAScript 2015+ code into a backwards compatible
version of JavaScript in current and older browsers.
Example
// Babel Input: ES2015 arrow function
[1, 2, 3].map(n => n + 1);
// Babel Output: ES5 equivalent
[1, 2, 3].map(function(n)
{
return n + 1;
});
Transpiler and Polyfill
• Babel transpiler converts the syntax of modern JavaScript
into a form, which can be easily understood by older
browsers.
• A Polyfill is a piece of code (usually JavaScript on the
Web) used to provide modern functionality on older
browsers that do not natively support it.
Why Babel?
• JavaScript is the language that the browser understands.
• We use different browsers to run our applications such as
Chrome, Firefox, etc.
• It is now uncertain when it will be possible for all
browsers to be compatible with all the ES versions that
released.
• ECMA Script is the JavaScript language specification.
• After ES5, we have had ES6, ES7, and ES8. ES6
released with a lot of new features which are not fully
supported by all browsers.
• If we want to use new features of ECMA Script in our
code and want to run it on all possible browsers available,
we need a tool called Babel that will compile our final
code in ES5.
Features of Babel
• Babel-plugins
• Babel-presets
• Babel-polyfills
Advantages of Babel
• BabelJS provides backward compatibility to all the newly
added features to JavaScript and can be used in any
browsers.
• BabelJS has the ability to transpile to take the next
upcoming version of JavaScript - ES6, ES7, ESNext, etc.
• BabelJS can be used along with gulp, webpack, flow,
react, typescript, etc. making it very powerful and can be
used with big project making developer’s life easy.
Advantages of Babel
• BabelJS also works along with react JSX syntax and can
be compiled in JSX form.
• BabelJS has support for plugins, polyfills, babel-cli that
makes it easy to work with big projects.
Disadvantages of Babel
• BabelJS code changes the syntax while transpiling which
makes the code difficult to understand when released on
production.
• The code transpiled is more in size when compared to the
original code.
Thank You
Ad

More Related Content

Similar to Babel Compiler - Transforming JavaScript for All Browsers.pptx (20)

Demo Lecture 01 Notes paid , course notes
Demo Lecture 01 Notes paid , course notesDemo Lecture 01 Notes paid , course notes
Demo Lecture 01 Notes paid , course notes
GandhiSarthak
 
How to develop reusable components with Babel and Rollup.js
How to develop reusable components with Babel and Rollup.jsHow to develop reusable components with Babel and Rollup.js
How to develop reusable components with Babel and Rollup.js
Hugo Magalhães
 
Java.pptx
Java.pptxJava.pptx
Java.pptx
AmanBhagat34
 
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign SolutionsTen Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
MetaDesign Solutions
 
Accelerating time to delivery modern tools for cobol development
Accelerating time to delivery modern tools for cobol developmentAccelerating time to delivery modern tools for cobol development
Accelerating time to delivery modern tools for cobol development
Micro Focus
 
Swift programming language
Swift programming languageSwift programming language
Swift programming language
Nijo Job
 
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert WBeginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
kuclermialee
 
java full 1 (Recovered).docx
java full 1 (Recovered).docxjava full 1 (Recovered).docx
java full 1 (Recovered).docx
SATHYAKALAKSKPRCASBS
 
java completed units.docx
java completed units.docxjava completed units.docx
java completed units.docx
SATHYAKALAKSKPRCASBS
 
java full 1.docx
java full 1.docxjava full 1.docx
java full 1.docx
SATHYAKALAKSKPRCASBS
 
java full.docx
java full.docxjava full.docx
java full.docx
SATHYAKALAKSKPRCASBS
 
Java (1)
Java (1)Java (1)
Java (1)
Samraiz Tejani
 
Analysis
AnalysisAnalysis
Analysis
venkatesh anantha
 
Accelerating time to delivery - Modern tools for COBOL development
Accelerating time to delivery - Modern tools for COBOL developmentAccelerating time to delivery - Modern tools for COBOL development
Accelerating time to delivery - Modern tools for COBOL development
Micro Focus
 
Ionic in 30
Ionic in 30Ionic in 30
Ionic in 30
Ionic Framework
 
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhiPPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
afsana9597
 
Eclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client RoundupEclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client Roundup
Murat Yener
 
DSpace UI prototype dsember
DSpace UI prototype dsemberDSpace UI prototype dsember
DSpace UI prototype dsember
Bram Luyten
 
C# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdfC# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdf
christiemarie4
 
Java ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.pptJava ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.ppt
VGaneshKarthikeyan
 
Demo Lecture 01 Notes paid , course notes
Demo Lecture 01 Notes paid , course notesDemo Lecture 01 Notes paid , course notes
Demo Lecture 01 Notes paid , course notes
GandhiSarthak
 
How to develop reusable components with Babel and Rollup.js
How to develop reusable components with Babel and Rollup.jsHow to develop reusable components with Babel and Rollup.js
How to develop reusable components with Babel and Rollup.js
Hugo Magalhães
 
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign SolutionsTen Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
Ten Compelling Reasons to Go the Scala Development Way - Metadesign Solutions
MetaDesign Solutions
 
Accelerating time to delivery modern tools for cobol development
Accelerating time to delivery modern tools for cobol developmentAccelerating time to delivery modern tools for cobol development
Accelerating time to delivery modern tools for cobol development
Micro Focus
 
Swift programming language
Swift programming languageSwift programming language
Swift programming language
Nijo Job
 
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert WBeginning Java with WebSphere Expert s Voice in Java Janson Robert W
Beginning Java with WebSphere Expert s Voice in Java Janson Robert W
kuclermialee
 
Accelerating time to delivery - Modern tools for COBOL development
Accelerating time to delivery - Modern tools for COBOL developmentAccelerating time to delivery - Modern tools for COBOL development
Accelerating time to delivery - Modern tools for COBOL development
Micro Focus
 
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhiPPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
PPT.pptxvkjvwbjbbikvhixhkiheihhiiihwxhhi
afsana9597
 
Eclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client RoundupEclipsist2009 Rich Client Roundup
Eclipsist2009 Rich Client Roundup
Murat Yener
 
DSpace UI prototype dsember
DSpace UI prototype dsemberDSpace UI prototype dsember
DSpace UI prototype dsember
Bram Luyten
 
C# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdfC# vs Java What are The Differences.pdf
C# vs Java What are The Differences.pdf
christiemarie4
 
Java ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.pptJava ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.ppt
VGaneshKarthikeyan
 

More from YounusS2 (12)

Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
YounusS2
 
Normalization in RDBMS.pptx
Normalization in RDBMS.pptxNormalization in RDBMS.pptx
Normalization in RDBMS.pptx
YounusS2
 
Contextual Classes SBS.pptx
Contextual Classes SBS.pptxContextual Classes SBS.pptx
Contextual Classes SBS.pptx
YounusS2
 
Topology by SBS.pptx
Topology by SBS.pptxTopology by SBS.pptx
Topology by SBS.pptx
YounusS2
 
Bootstrap by SBS.pptx
Bootstrap by SBS.pptxBootstrap by SBS.pptx
Bootstrap by SBS.pptx
YounusS2
 
Cloud by SBS.pptx
Cloud by SBS.pptxCloud by SBS.pptx
Cloud by SBS.pptx
YounusS2
 
Html events with javascript
Html events with javascriptHtml events with javascript
Html events with javascript
YounusS2
 
Digital twin
Digital twinDigital twin
Digital twin
YounusS2
 
Education Definitions
Education DefinitionsEducation Definitions
Education Definitions
YounusS2
 
Education
EducationEducation
Education
YounusS2
 
Python & Data Science
Python & Data SciencePython & Data Science
Python & Data Science
YounusS2
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
YounusS2
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
YounusS2
 
Normalization in RDBMS.pptx
Normalization in RDBMS.pptxNormalization in RDBMS.pptx
Normalization in RDBMS.pptx
YounusS2
 
Contextual Classes SBS.pptx
Contextual Classes SBS.pptxContextual Classes SBS.pptx
Contextual Classes SBS.pptx
YounusS2
 
Topology by SBS.pptx
Topology by SBS.pptxTopology by SBS.pptx
Topology by SBS.pptx
YounusS2
 
Bootstrap by SBS.pptx
Bootstrap by SBS.pptxBootstrap by SBS.pptx
Bootstrap by SBS.pptx
YounusS2
 
Cloud by SBS.pptx
Cloud by SBS.pptxCloud by SBS.pptx
Cloud by SBS.pptx
YounusS2
 
Html events with javascript
Html events with javascriptHtml events with javascript
Html events with javascript
YounusS2
 
Digital twin
Digital twinDigital twin
Digital twin
YounusS2
 
Education Definitions
Education DefinitionsEducation Definitions
Education Definitions
YounusS2
 
Python & Data Science
Python & Data SciencePython & Data Science
Python & Data Science
YounusS2
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
YounusS2
 
Ad

Recently uploaded (20)

Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Ad

Babel Compiler - Transforming JavaScript for All Browsers.pptx

  • 1. Babel Compiler S.B.S.Younus, M.Sc., M.Phil., NET., Assistant Professor, Department of Information Technology, Sadakathullah Appa College, Rahmath Nagar, Tirunelveli - 627 011. Youtube: SBS Digital Learning.
  • 2. What is Babel • Babel is a JavaScript compiler. • Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in current and older browsers.
  • 3. Example // Babel Input: ES2015 arrow function [1, 2, 3].map(n => n + 1); // Babel Output: ES5 equivalent [1, 2, 3].map(function(n) { return n + 1; });
  • 4. Transpiler and Polyfill • Babel transpiler converts the syntax of modern JavaScript into a form, which can be easily understood by older browsers. • A Polyfill is a piece of code (usually JavaScript on the Web) used to provide modern functionality on older browsers that do not natively support it.
  • 5. Why Babel? • JavaScript is the language that the browser understands. • We use different browsers to run our applications such as Chrome, Firefox, etc. • It is now uncertain when it will be possible for all browsers to be compatible with all the ES versions that released.
  • 6. • ECMA Script is the JavaScript language specification. • After ES5, we have had ES6, ES7, and ES8. ES6 released with a lot of new features which are not fully supported by all browsers. • If we want to use new features of ECMA Script in our code and want to run it on all possible browsers available, we need a tool called Babel that will compile our final code in ES5.
  • 7. Features of Babel • Babel-plugins • Babel-presets • Babel-polyfills
  • 8. Advantages of Babel • BabelJS provides backward compatibility to all the newly added features to JavaScript and can be used in any browsers. • BabelJS has the ability to transpile to take the next upcoming version of JavaScript - ES6, ES7, ESNext, etc. • BabelJS can be used along with gulp, webpack, flow, react, typescript, etc. making it very powerful and can be used with big project making developer’s life easy.
  • 9. Advantages of Babel • BabelJS also works along with react JSX syntax and can be compiled in JSX form. • BabelJS has support for plugins, polyfills, babel-cli that makes it easy to work with big projects.
  • 10. Disadvantages of Babel • BabelJS code changes the syntax while transpiling which makes the code difficult to understand when released on production. • The code transpiled is more in size when compared to the original code.