Merge pull request #3124 from abhisekp/add-test-bf-bouncer

Add more falsy values for "Bonfire: Falsy Bouncer"
This commit is contained in:
Anton Strömkvist
2015-09-08 14:21:01 +02:00

View File

@ -549,7 +549,7 @@
"tests": [
"assert.deepEqual(bouncer([7, 'ate', '', false, 9]), [7, 'ate', 9], 'should remove falsy values');",
"assert.deepEqual(bouncer(['a', 'b', 'c']), ['a', 'b', 'c'], 'should return full array if no falsy elements');",
"assert.deepEqual(bouncer([false, null, 0]), [], 'should return empty array if all elements are falsy');"
"assert.deepEqual(bouncer([false, null, 0, NaN, undefined, '']), [], 'should return empty array if all elements are falsy');"
],
"MDNlinks": [
"Boolean Objects",