commit integerdigits.js

+//write a function that takes an integer as input
+//and returns the number of digits in that integer