/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
array.prototype.flatmap
/
test
/
/home/techb158/balavpn.abdallabala.com/node_modules/array.prototype.flatmap/test
mkdir
upload
Name
Size
Mode
Actions
implementation.js
609
0666
edit
dl
rm
index.js
504
0666
edit
dl
rm
shimmed.js
1292
0666
edit
dl
rm
tests.js
1544
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/array.prototype.flatmap/test/index.js
(504B)
'use strict'; var flatMap = require('../'); var test = require('tape'); var runTests = require('./tests'); test('as a function', function (t) { t.test('bad array/this value', function (st) { /* eslint no-useless-call: 0 */ st['throws'](function () { flatMap.call(undefined, function () {}); }, TypeError, 'undefined is not an object'); st['throws'](function () { flatMap.call(null, function () {}); }, TypeError, 'null is not an object'); st.end(); }); runTests(flatMap, t); t.end(); });
Save
cmd:
run