amartin
5b0d97091c
feat: basic non ascii support ( #423 )
...
Adds basic non ascii support including substring, substr, slice functions,
which work with runes (prevent utf-8 length).
This includes adding runes compatible functions:
* indexOf
* lastIndexOf
2021-10-19 18:51:42 +01:00
Conrad Pankoff
37f8e9a246
support Number.isNaN
2019-12-17 17:34:20 +11:00
Robert Krimen
470b8c3b73
terst
...
* Update to latest github.com/robertkrimen/terst
* Clean up testing
2014-04-25 22:48:25 -07:00
Robert Krimen
6e3ed1b99d
Tighten test comparisons instead of squashing everything to a string
2014-04-11 18:06:18 -07:00
Robert Krimen
4c85422172
Make encodeURI correspond to the 15.1.3.3 algorithm and encodeURIComponent ito 15.1.3.4
2013-05-02 20:23:06 +02:00
Robert Krimen
9184233705
Bundle terst dependency (github.com/robertkrimen/terst)
2013-04-15 10:20:34 -07:00
Robert Krimen
8486fe2d1c
Add escape/unescape
2013-03-17 22:06:08 -07:00
Robert Krimen
3c9faa2810
Fix String.char*At to look at utf16 version
2013-02-21 14:25:04 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Robert Krimen
aef569f297
Fix to handle Infinity radix in parseInt properly
2012-11-15 15:15:26 -08:00
Robert Krimen
f842eda638
Add a String.substr implementation
...
This will fix #6
2012-10-19 13:26:22 -07:00
Robert Krimen
9afeb64d67
Fix toFloat to parse hexadecimal properly
2012-10-18 11:16:25 -07:00
Robert Krimen
24e71588dd
Add String.fromCharCode
2012-10-18 10:58:23 -07:00