Also, in many dialects of Dutch, including the standard, the long e in the first syllable of Scheveningen is pronounced closer to the English long a than the German long e, and the final -n is silent. So a typical Dutch pronunciation would be (something like) [sxeɪ̯vənɪŋə], vs. German [ʃe̝ːvənɪŋən].
Yes, but presumably you’d learn that when you learn Dutch. I maintain that it is easier for a German speaker to learn the pronunciation of “Scheveningen” than to learn the entire Dutch language, and that L1 German speakers that learned Dutch as a foreign language will pronounce “Scheveningen” correctly, or, at any rate, not make the trivial mistake of analysing “sch” as the trigraph "sch," pronounced [ʃ], rather than as the letter "s" and the digraph "ch", producing the consonant cluster [sx].
That's a significantly newer syntax, so I wouldn't say it's "more idiomatic" than explicitly referencing the original function on the prototype (which is idiomatic to JS) and was the way to do it until the spread proposal, Array.from, and similar additions, what, ~5 years ago?
If anything isn't that code _less_ idiomatic in that it's less specific to JS and more of a generic operation?
In this instance I understood it to be idiomatic as it calls a JS Array constructor and iterates on the passed parameter to create it. It's been more common than the call/apply methods for years—at least as far as I've seen. The use of the array literal is always preferred, AFAIU.
I agree it'll probably become the new idiom in JS, but it probably needs another few years to begin taking over from the idiom that existed for decades before (and still works).
If you've seen that more common than call/apply for years then you probably work almost exclusively on new projects, with people that convert things to bleeding-edge, or with heavy transpilation: The spread operator as used there has only existed in regular released browsers/node for 3-4 years. I don't think it's a stretch to say the vast majority of code out there at this time won't be doing it that way.
Yeah could be. And my client base, as it were, are solely internal to the company I work for at this time and we have some knowledge and some cooperation over what versions of browsers people are using when it comes to web-based software. So support for older systems is largely unnecessary. That and building node backends the ES version doesn’t affect them anyway.
There is no such thing as average Indonesian though. Sure, around 50% of Indonesian population lives in Java Island (where Jakarta is) but I won't call people in Java "average Indonesian".
Keep in mind that Indonesia is a large archipelagic nation so wherever the capital is, chances are its "inaccessible" to the majority of Indonesians.