[Vuejs]-Does JavaScript(ES2015) have preprocessor support for omit braces?

1👍

I think you’re looking for something like CoffeeScript. It’s a preprocessor for JavaScript that is white space sensitive, like Jade, so you often do not need a lot of punctuation.

👤Shaun

1👍

JavaScript/ECMAScript (as a language) does not have any preprocessor support at all, because it doesn’t need compilation or preprocessing – it’s an interpreted scripting language.

You can however write a custom preprocessor that does whatever you want and apply it manually to your script files.

👤Bergi

Leave a comment