Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
plusgut60377ySo your saying it's Javascript fault when it doesn't execute a function, if your not executing it?
Get your toolset right, and don't blame the language for allowing flexible things. -
plusgut60377yRead an object what doesn't exist? This would have the value undefined.
Or what are you talking about? -
plusgut60377y@Benedikt I was talking to @Jop- an not existing property has the value undefined, that is not the same as zero.
Show me the codesnippet what you are talking about.
What the!
I knew Javascript is messed up as hell but this...
I wondered an hour why "MyObject.size" is zero every time until I finally reallised that I only forgot the brackets.
Why, why does this return zero instead of throwing an exception, or at least "Function" or something like that?
That's bullshit! Arrrrgh...
rant