[javascript] How can I find the length of a number?