Closed matthewp closed 6 years ago
string.sub("/api/games/{id}", {id: undefined}, true);
returns undefined.
Looks like this is intentional: https://github.com/canjs/can-util/blob/49cf550ec18c4e5d107e9e74cd1d37f10d05003a/js/string/string-test.js#L24
returns undefined.