UNPKG

foreword

Version:

A JavaScript library for functional data transformation

10 lines (7 loc) 200 B
const test = require('tape') const { get } = require('../../object') test('object get: return object value by key', t => { const result = get('a')({ a: 1, b: 2 }) t.same(result, 1) t.end() })