News for hackers. Stuff that matters.
Re:Where do argc and argv come from? by ufo on Monday August 10, 2020 @04:20PM (#24113552)
Another example is Angular.js It used Javascript's toString() method to get the names of the arguments and then did dependency injection magic based on it.

Does anyone know if that is still the case for recent versions of Angular?

Re:Where do argc and argv come from? by bmm6o on Monday August 10, 2020 @04:50PM (#24113827)
And because js is frequently minified, there is a way to specify the names as string literals to keep the injection working.