Why +[] or +“” equal to 0 in javascript [duplicate]
I know in javascript, Array does not support + operation, so +[] would be convert to + [].toString(), but I can't figure out why +"" is equal to zero.
I know in javascript, Array does not support + operation, so +[] would be convert to + [].toString(), but I can't figure out why +"" is equal to zero.
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
No comments:
Post a Comment