Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (var prop in obj) {
- if (obj.hasOwnProperty(prop)) {
- if (typeof(obj[prop]) != 'function') {
- sch.error('obj.'+prop+' ('+typeof(obj[prop])+') : '+obj[prop]);
- } else {
- sch.error('obj.'+prop+' ('+typeof(obj[prop])+')');
- }
- }
- }
Add Comment
Please, Sign In to add comment