javascript - string to int use parseInt or Number? - Stack Overflow
As the title already says, what should I prefer when converting a string to an int? Is there any performance gain when using one over the other? ... Well, they are semantically different, the Number constructor called as a function performs type conversio...