|
|
|
|
|
by CGamesPlay
2005 days ago
|
|
I agree about points 1 and 3 (especially writing to negative indexes being very weird), but I disagree about the other half. 2. This is not a serious issue. I think it is unfortunate that you can't use a built-in function to map over a Map, but this isn't what the article is saying. 4. This could absolutely be fixed? The reason we "can't" fix the NaN issue is because we don't want to break JavaScript backwards compatibility. TypeScript version 3 could outright ban this action and it would be totally "fine" (modulo migration pains in existing codebases). Fixing this wouldn't affect backwards compatibility with the emitted Javascript at all. |
|