项目原始demo,不改动
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
 
 
 
 

15 行
358 B

  1. /**
  2. * The base implementation of `_.propertyOf` without support for deep paths.
  3. *
  4. * @private
  5. * @param {Object} object The object to query.
  6. * @returns {Function} Returns the new accessor function.
  7. */
  8. function basePropertyOf(object) {
  9. return function(key) {
  10. return object == null ? undefined : object[key];
  11. };
  12. }
  13. module.exports = basePropertyOf;