Nothing is Nothing?

Published by FlaFFyxDD in

Given any number of parameters, return true if none of the arguments are falsy.

Examples

nothingIsNothing(0, false, undefined, null) ➞ false

nothingIsNothing(33, "Hello",  true,  []) ➞ true

nothingIsNothing(true, false) ➞ false

Notes

You'll have to figure out a way to access the arguments

Watch a quick demo on how Edabit works.