Leo Marco Corpuz18,975 Points
Setting student dance method to false
I noticed nothing was placed as a parameter when setting the Student dance method to false. Would it be the same if it was written as stevenJ.dance(false)?
Steven Parker170,451 Points
Sure, you can explicitly pass "false" if you like. By passing nothing, the parameter's value is "undefined", which is considered "falsey" and therefore is treated the same as if you had provided "false" as the argument.