JSBin: How to get ES6/Babel tab?
Asked Answered
F

1

30

I am learning JavaScript. I am using online editor Jsbin to run javascript. I want to use ES6 with Babel. I have seen some of the tutorials or JSBins which has babel tab in the editor. Please refer the screenshot for more detail. I am not able to figure out how do we get this ES6/Babel tab in JSbin. Can anyone please help me on this? Thanks.

Screenshot

Fumarole answered 7/2, 2017 at 6:8 Comment(0)
F
56

In the Javascript pane, click the "Javascript" dropdown in the top left and change to "ES6/Babel":

Screenshot

Frap answered 7/2, 2017 at 6:10 Comment(1)
In the account preferences ("Default Preferences"->"Linting"->"JSHint") set appropriate value for "esversion" property.Annulet

© 2022 - 2024 — McMap. All rights reserved.