Guest User

Untitled

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function isArguments(o) {
  2. function isPropertyDontEnum(o, prop) {
  3. for (var p in o) {
  4. if (p === prop) return false;
  5. }
  6. return true;
  7. }
  8. return (typeof o == 'object' && 'length' in o &&
  9. isPropertyDontEnum(o, 'callee'));
  10. }
Add Comment
Please, Sign In to add comment