3 ms·
If you have static analysis then it makes sense to use types instead of strings. If you don't have static analysis then there isn't much motivation which is why
by glibgil 12y ago
If you have static analysis then it makes sense to use types instead of strings. If you don't have static analysis then there isn't much motivation which is why you see strings everywhere in unanalyzed JavaScript.