createMathOperation

If both arguments are undefined then the default value passed in is returned. If one of the argument is the undefined, then the other is returned. If one of the arguments is string then the other argument is also converted to string and run thru the operation function passed in. Any other type, the arguments are converted to a number and the operation is tried. If not a number then NaN would be used.

Comments

Popular posts from this blog

getTag

baseToNumber

baseToString