Is it possible to replace the function keyword to something smaller like void, sub etc ?
I've seen it being used in libraries like these two:
Is it possible to replace the function keyword to something smaller like void, sub etc ?
I've seen it being used in libraries like these two:
You can use "typescript" for these things. It is a typed superset of JavaScript that compiles to plain JavaScript. So it is javascript with lots of new features. It is created by Microsoft.
sweetjs, etc do it. but the browser won't understand it.function