For instance can a write a function using
ಠ(){}
instead of
function(){}
Note: ಠ is a valid identifier according to ECMAScript 6 / Unicode 8.0.0.
https://mothereff.in/js-variables
No, you cannot.
You might be able to use something like Sweet or another JS transpiler.
The logical question that nobody has asked yet is why? My first reaction is that this is an X/Y problem, since function doesn't seem particularly onerous on its own.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With