SO-ChatBot
SO-ChatBot copied to clipboard
Use babel on bot ?
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 !
Please let
this happen.
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.
let
is only available in FF from debugger eval code and script tags with type
attribute set to application/javascript;version=1.7
.
Would !!6>
be ok?
@Zirak :+1:
~~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
https://github.com/Zirak/SO-ChatBot/wiki/Commands#eval
@zirak no because babel supports es7 too or (2017) how about babel> or !!babel> ? !!b> ??
!!> "use es6"; let bananas = "delicious";
!!> "use babel"; ...