Two separate references to two separate arrays equaling false? What's the problem?
Python says True.
Ruby says true.
JS says false.
And otherwise, JS is quite lenient with not interpreting the input like you describe it when using "==":
> [] == 0
< true
> [] == false
< true