babel web code example
Example 1: babel
<!-- v6 <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> -->
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
<!-- Your custom script here -->
<script type="text/babel">
Example 2: babel
npm install --save-dev @babel/core @babel/cli
Copy