private-core
v1.0.4
Published
- 👋 const { getValueByPath } = require('private-core')
Downloads
4
Readme
前端ctrl攻城狮
👋 const { getValueByPath } = require('private-core')
🌱 const obj = { data: { auth: { age: '18' } }, msg: 'ok' }
console.log(getValueByPath('data.auth.age')(obj))
💞️ ps: 简单测试 暂未支持es6以下