nullish
v1.0.2
Published
Resolve nullish coalescing operator (??) compatibility issues
Downloads
13
Readme
Nullish
Resolve nullish coalescing operator (??) compatibility issues
Install
npm install nullish --save
Usage
See the test folder test/index.js
import nullish from 'nullish'
// null ?? 'value'
const obj = {}
nullish(obj.name, 'value')