Hello Everyone,
I would like to propose allowing curly braces to be optional in JavaScript.
Example:
```
function foo(){
bar()
}
```
can be written as:
```
function foo():
bar()
```
Or #2:
```
function foo():
{bar()}
{bar2()}
```
Or #3:
```
function foo():
_ bar()
_ bar2()
```
Or #4:
```
function foo():
- bar()
- bar2()
```
Or #5:
```
function foo():
; bar()
; bar2()
```
That would make JavaScript an easy to write on board language, where a language
like python dominates because of it's simplicity in writing. This would make
JavaScript spread into more areas in science, education and engineering.
Thank you,
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss