Plato on Github
Report Home
node_modules/es5-ext/object/primitive-set.js
Maintainability
83.99
Lines of code
9
Difficulty
4.50
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; var forEach = Array.prototype.forEach, create = Object.create; module.exports = function (arg/*, …args*/) { var set = create(null); forEach.call(arguments, function (name) { set[name] = true; }); return set; };