2
0

pluck.js 151 B

1234567
  1. 'use strict';
  2. var value = require('../object/valid-value');
  3. module.exports = function (name) {
  4. return function (o) { return value(o)[name]; };
  5. };