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
/
gernal
/
basic.js
11 lines
(8 loc)
•
242 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
path =
require
(
'path'
), ifd =
require
(path.
join
(process.
cwd
(),
'dist/ifd.js'
));
const
test =
ifd
(
undefined
,
false
,
NaN
,
null
,
'test'
,
true
);
module
.
exports
= {
exp
:
function
(
should
) { should.
equal
(test,
'test'
); } };