ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
js, to javascript

Any or similar spec experts in the chat?

Tagged Template Literals work as follows: push a string until interrupted by a variable.

So,

unimportant`just an example ${2}`  

the args are:

{  
 strings: ["just an example ", ""],  
 values: [2]  
}  

Why? Why doesn't the the spec go "nothing left, no need to do anything"?

Or why not remove all the empty strings before giving me those args?

I tried reading the Ecmascript spec but it's obtuse.

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
stvfrnzl, to webdev
@stvfrnzl@mastodon.online avatar

How do you keep up-to-date with new releases? I've done some research but I couldn't find a website where I would get a notification once a new release is out.

Should I just sign up to the ? Usually I notice because the awesome developers in my bubble write about it. Any help and boosts appreciated! 🙌

Zenwork,
@Zenwork@mastodon.cloud avatar

@stvfrnzl you can subscribe for notifications on the proposals here https://github.com/tc39/proposals

Then you can use https://caniuse.com/ to track implementation status.

I have seen other websites in the past that provide feature by feature status... but can't find them right now.

ecmascript_news, to javascript
@ecmascript_news@mastodon.online avatar
mjgardner, to javascript
@mjgardner@social.sdf.org avatar

2023 (its friends still call it ) will standardize allowing -style shebang lines to indicate a interpreter.

https://github.com/tc39/proposal-hashbang/blob/gh-pages/README.md#why-hashbang-instead-of-shebang

Of course, the JavaScript kiddies want to call them “hashbangs” because “hash is commonly associated with modern terms involving # such as .” No respect for tradition 🧓🏻

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • GTA5RPClips
  • rosin
  • Youngstown
  • everett
  • khanakhh
  • slotface
  • InstantRegret
  • Durango
  • ngwrru68w68
  • kavyap
  • modclub
  • DreamBathrooms
  • mdbf
  • JUstTest
  • magazineikmin
  • thenastyranch
  • cubers
  • cisconetworking
  • osvaldo12
  • ethstaker
  • normalnudes
  • Leos
  • tester
  • megavids
  • tacticalgear
  • anitta
  • lostlight
  • All magazines