Guest User

Untitled

a guest
Jan 16th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. static readonly COMPARISON_OPERATORS = {
  2. [QueryObject.EQUALS]: "equals",
  3. [QueryObject.NOTEQUALS]: "notequals",
  4. ...
  5. }
  6.  
  7. c[QueryObject.COMPARISON_OPERATORS[operator]].apply(c, args);
  8.  
  9. (<() => {}>(<any> c)[
  10. QueryObject.COMPARISON_OPERATORS[operator]
  11. ]).apply(c, args);
Add Comment
Please, Sign In to add comment