Now that I think about it, I never really used the benefit a weak typing in JS. Can anybody mention a case when they changed the type of something (primitive or complex) after declaration and it felt like the right thing to do? I think I mostly enjoy weak typing because I have to write less code, not because it is weak.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Now that I think about it, I never really used the benefit a weak typing in JS. Can anybody mention a case when they changed the type of something (primitive or complex) after declaration and it felt like the right thing to do? I think I mostly enjoy weak typing because I have to write less code, not because it is weak.