Right its not possible to use route names which are equal to properties in Object.prototype. Its important because Firefox still has Object.prototype.watch property.
So to avoid naming collisions Object.create(null) should be used instead of object literal.
Coverage remained the same at 100.0% when pulling 45a98dd98c59d786dfd090845267ad113ae88a35 on isymchych:master into 6b7b16ce0f78434c89393f4e1e44ac98aedb2e54 on kriasoft:master.
Coverage remained the same at 100.0% when pulling 45a98dd98c59d786dfd090845267ad113ae88a35 on isymchych:master into 6b7b16ce0f78434c89393f4e1e44ac98aedb2e54 on kriasoft:master.
Coverage remained the same at 100.0% when pulling 454bcef8b90aa11cab4cbe3badfbcb1f14c9a753 on isymchych:master into 6b7b16ce0f78434c89393f4e1e44ac98aedb2e54 on kriasoft:master.
Right its not possible to use route names which are equal to properties in
Object.prototype
. Its important because Firefox still hasObject.prototype.watch
property.So to avoid naming collisions
Object.create(null)
should be used instead of object literal.