Closed minikomi closed 7 years ago
window.location.port
""
uri.getPort
nil
Wrapping uri.getPort in str ensures they are both the same format, allowing equivalence check to pass when required.
str
Closing in favor of #38
window.location.port
returns a string, defaults to""
uri.getPort
returns a number, defaults tonil
Wrapping
uri.getPort
instr
ensures they are both the same format, allowing equivalence check to pass when required.