qaz to Programmer [email protected]English • 1 year ago-Wall ain't allimagemessage-square25arrow-up1346arrow-down115
arrow-up1331arrow-down1image-Wall ain't allqaz to Programmer [email protected]English • 1 year agomessage-square25
minus-squareLimitless_screaminglinkfedilink13•1 year agoFunction is changing a global variable, the global variable is checked after every call to the function. That’s your return value.
minus-squareqazOPlink12•edit-21 year agoI spent 3 hours debugging the serialization code to find out it the crash was because the function didn’t have a return statement.
minus-squareLimitless_screaminglinkfedilink10•1 year agoSorry, cannot relate; Everything is a boolean when you’re using JavaScript.
minus-square@[email protected]linkfedilink4•1 year agoThat’s… Terrible. Truly the stuff of nightmares!
Function is changing a global variable, the global variable is checked after every call to the function. That’s your return value.
I spent 3 hours debugging the serialization code to find out it the crash was because the function didn’t have a return statement.
Sorry, cannot relate; Everything is a boolean when you’re using JavaScript.
That’s… Terrible. Truly the stuff of nightmares!
OOP methods?