Advertisement
Guest User

Untitled

a guest
Apr 19th, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. var object = new (declare([_BaseField, ValidationTextBox]))({
  2. params: someParams
  3. });
  4.  
  5.  
  6. console.log(object instanceof _BaseField); // Returns true.
  7. console.log(object instanceof ValidationTextBox); // Returns false.
  8.  
  9. object.isInstanceOf(ValidationTextBox) // true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement