(When you do `(array) == (string)`, the array gets converted into a string to make the equals comparison. In some browsers, the empty array evaluates to empty string. Under some circumstances, it can become `'[object Array]` which is not equal to the empty string. Also, if `queue.positions` is null, the expression will evaluate to false, which is maybe not expected)