Advertisement
vitalikdydko

Untitled

Nov 24th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function isOperator(input)  {
  2.     if  ("+-/*^()".indexOf(input) != -1) {
  3.         return true;
  4.     }
  5.     else
  6.     { return false;    }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement