Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isArguments(o) {
- function isPropertyDontEnum(o, prop) {
- for (var p in o) {
- if (p === prop) return false;
- }
- return true;
- }
- return (typeof o == 'object' && 'length' in o &&
- isPropertyDontEnum(o, 'callee'));
- }
Add Comment
Please, Sign In to add comment