Update to the proposal: Since we can't make spaces in JavaScript, the best we can do is use |_` instead.
We will also git rid of `:` after statement in the old version as `_` is enough indication and it's more compatible with our current curly braces syntax. Final result: ``` if (foo==2) _ bar() _ bar2() ``` Which is the same as: ``` if (foo==2) _ bar(); _ bar2(); ``` Basically `_` would allow chaining expressions inside a statement block. Thank you, ________________________________ From: es-discuss <[email protected]> on behalf of Ed Saleh <[email protected]> Sent: Sunday, November 3, 2019 1:48:12 PM To: Sanford Whiteman <[email protected]>; es-discuss <[email protected]> Subject: Re: Optional Curly Braces in JavaScript Update to the proposal: Since we can't make spaces in JavaScript, the best we can do is use '_' instead. We will also git rid of ':' after statement in the old version as '_' is enough indication and it's more compatible with our current curly braces syntax. Final result: ``` if (foo==2) _ bar() _ bar2() ``` Which is the same as: ``` if (foo==2) _ bar(); _ bar2(); ``` Basically `_` would allow chaining expressions inside a statement block. Thank you, ________________________________ From: es-discuss <[email protected]> on behalf of Sanford Whiteman <[email protected]> Sent: Sunday, November 3, 2019 1:36:36 AM To: es-discuss <[email protected]> Subject: Re: Optional Curly Braces in JavaScript > the only thing really missing (and which python has) is a builtin > wasm-sqlite3 library (and specialized/secure file-api's to persist > sqlite-db-blobs). Browsers (WPWG, not this group) tried WebSQL. It failed because there wasn't a competitive bake-off with any other implementations _besides_ SQLite. If a browser vendor had used another engine, then SQLite might've won the bake-off and now you'd have what you describe. _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

