Monthly Archives: August 2013

XOR operator in javascript

logic

How to predicate every character  in a string is number (0-9)? normal way 1: validate by regular express

normal way 2: use parseInt() function

normal way 3: use isNaN() function

There are some other method also can

Posted in Javascript Tagged with: