It looks like logically, this ORs the window property value and the argument value. If we have a window with animated:true, but an explicit {animated:false} in the function arguments, shouldn't the latter override the former?