Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Use babel on bot ? #240

Open
darkyen opened this issue Jun 1, 2015 · 8 comments
Open

Use babel on bot ? #240

darkyen opened this issue Jun 1, 2015 · 8 comments

Comments

@darkyen
Copy link

darkyen commented Jun 1, 2015

Hey I just used let,
and this is crazy,
but let is a reserved identifier,
babel maybe ?

use babel for evaluating !!> ?

Advantages ?

Always latest babel supported syntax !

@royhowie
Copy link

royhowie commented Jun 1, 2015

Please let this happen.

@SomeKittens
Copy link
Contributor

In FF latest:

let a = 'a';
> undefined
a
> "a"

So it should work without Babel. Moreso a bug in the eval code, I'd guess.

@awalgarg
Copy link
Contributor

awalgarg commented Jun 1, 2015

let is only available in FF from debugger eval code and script tags with type attribute set to application/javascript;version=1.7.

@Zirak
Copy link
Owner

Zirak commented Jun 4, 2015

Would !!6> be ok?

@awalgarg
Copy link
Contributor

awalgarg commented Jun 4, 2015

@Zirak 👍

and while we are at it, can eval be converted to an actual command so we can use it on tell? mmhmm, I am lame

@SomeKittens
Copy link
Contributor

@darkyen
Copy link
Author

darkyen commented Jun 5, 2015

@Zirak no because babel supports es7 too or (2017) how about babel> or !!babel> ? !!b> ??

@Shmiddty
Copy link
Contributor

Shmiddty commented Jun 6, 2015

!!> "use es6"; let bananas = "delicious";
!!> "use babel"; ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants