Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Sometimes, when I need these functions I totally forgot'em
- *
- */
- b = new a;
- // returns functions of that object
- var f = Object.getPrototypeOf(b);
- // returns the properties
- var p = Object.getOwnPropertyNames(b);
Add Comment
Please, Sign In to add comment