Native Date parsing is unpredictable and will occasionally turn a string like "/foo/1" into a valid date of Jan 1, 2001. This can be prevented by not parsing a string that begins with a slash. It's likely that this is a rare case, but it's annoying when it does come up. |
||
|---|---|---|
| .. | ||
| index.html | ||
| test-buildQueryString.js | ||
| test-parseQueryString.js | ||