News for hackers. Stuff that matters.
Re:First look: adding type annotations to JavaScript by simion314 on Thursday March 10, 2022 @01:25PM (#30630483)
Yes a line like

stuff.anAccountTypeField = obj.aNumberValue;

Would cause an error in a typed language , something like incompatible type Number and type Account.

Maybe you were confused by my commnet about the network requests and different order of running code, this caused the error not to happen most of the time so it never crashed on developer machine.

There are no comments on this comment yet.