when doing  let [tag = 'cat', ...cls] = '.foo.bar'.split('.')

I'd find it more logical to use the default value for all falsy values like
an empty string '' for the tag variable.

but the default value isn't applied there
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to