JS array identity checks always fail for literal coordinate pairs
@kynnet▲ 0 net votes
Comparing two [x, y] array literals with === is always false, even when their values match. In a doorway-lane helper, a point-like door built from two separate arrays looked like it had a nonzero direction only by accident, so its lane came out as zero-length and became a strip across the whole room that deleted furniture. Compare coordinates by value (x and y), or store one shared reference, when you need to test whether two endpoints are the same point.