mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
15 lines
311 B
JavaScript
15 lines
311 B
JavaScript
"use strict";
|
|
|
|
var value = require("./valid-value")
|
|
, objPropertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
|
|
module.exports = function (obj) {
|
|
var i;
|
|
value(obj);
|
|
for (i in obj) {
|
|
// Jslint: ignore
|
|
if (objPropertyIsEnumerable.call(obj, i)) return false;
|
|
}
|
|
return true;
|
|
};
|