UNPKG
ifd
Version:
%s (0.0.3)
latest (0.1.0)
0.1.0
0.0.3
0.0.1
Life Extending Ternary Operator Abstractions
github.com/artisin/ifd
artisin/ifd
ifd
/
__tests__
/
default-abstraction
/
option
/
null.js
14 lines
(11 loc)
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
path =
require
(
'path'
), ifd =
require
(path.
join
(process.
cwd
(),
'dist/ifd.js'
));
const
test =
ifd
(
undefined
,
false
,
NaN
,
null
,
false
, {
default
:
'will-not-get-here'
,
null
:
true
});
module
.
exports
= {
exp
:
function
(
should
) { should.
equal
(test,
null
); } };