What is the difference between parseInt(string) and Number(string) in JavaScript? [duplicate] What is the difference between parseInt(string) and Number(string) in JavaScript? [duplicate] javascript javascript