7b51a87cf57e700f18241d44a9ae00e136268ca4
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 var value = require('./valid-value')
4
5   , propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
6
7 module.exports = function (obj) {
8         var i;
9         value(obj);
10         for (i in obj) { //jslint: ignore
11                 if (propertyIsEnumerable.call(obj, i)) return false;
12         }
13         return true;
14 };