×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Jing Tai Piao
Added: Dec 20, 2013 5:50 AM
Views: 9
Tags: no tags
  1. function isNumber(n) {
  2.   return !isNaN(parseFloat(n)) && isFinite(n);
  3. }