Not entirely true since null or an empty array are falsy. Though when you get a string or a number other than 0, those are truthy. Or what if you have a variable with "true" as its value? Your solution is correct though.
Well this is just variable name of argument basically he changed the parameter's name from flower1 to Ͼ and vice versa so as he can make shit diagram like program lol...
Not entirely true since null or an empty array are falsy. Though when you get a string or a number other than 0, those are truthy. Or what if you have a variable with "true" as its value? Your solution is correct though.
his solution is good to use after you check that array is valid
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please don't post solutions without using spoiler flag again, thanks.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Chutiya chinese.
Well this is just variable name of argument basically he changed the parameter's name from flower1 to Ͼ and vice versa so as he can make shit diagram like program lol...
I really wanted to solve this question via regex but "wtf" I had to take 1-2 Day master class
This comment is hidden because it contains spoiler information about the solution