The universe will end before I can reliably remember the difference between for..of and for..in in JavaScript.
@seldo Same. The only way I sometimes remember is "strINg" because for…in iterates over object strINg properties.
@jeremiahlee @seldo the best thing typescript ever did was yell at me when I pick the wrong one
Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy. Stay safe. Please abide by our code of conduct. (Source code)
@jeremiahlee @seldo the best thing typescript ever did was yell at me when I pick the wrong one