dotnotation
1.0.1 • Public • Published API
var object = {
shipping: {
europe: '15',
america: '22'
}
};
it('returns 15', function () {
dotnotation(object, 'shipping.europe').should.eql('15');
});
it('returns 22', function () {
dotnotation(object, 'shipping.america').should.eql('22');
});
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.1
1
Version History
Package Sidebar
Install
Weekly Downloads