Robert Krimen
d9765234a4
Fix to not bypass finally on continue, break, return, etc.
2012-11-06 17:58:31 -08:00
Robert Krimen
a4de862caa
Test condition in case of continue in do-while
2012-11-06 17:27:12 -08:00
Robert Krimen
26f8a53978
Accept out-of-range +/-Infinity (instead of NaNing)
2012-11-06 11:06:45 -08:00
Robert Krimen
aa3109f8db
typeof null === "object"
2012-11-05 13:57:18 -08:00
Robert Krimen
3c93384f5c
Cleanup of stash, property, and object
...
Use octal to designate write/enumerate/configure (experimental)
Move extensibility responsibility into the stash
Rename propertyStash => objectStash (be congruent with arrayStash, etc.)
Get rid of a bunch of useless methods
Privatize everything ([A-Z] => [a-z_])
gofmt
2012-10-26 15:47:19 -07:00
Robert Krimen
c1a21812fe
Fix trying to call a non-function as a function
2012-10-22 14:29:14 -07:00
Robert Krimen
820c21423f
Bypass a little bit more of the gauntlet (for now)
2012-10-20 23:52:34 -07:00
Robert Krimen
68943ba1e4
More (complex) RegExp => RE2 transforming and tests
...
The unescaping of that which does not need escaping
2012-10-20 23:32:30 -07:00
Robert Krimen
33d9cbf707
Add a few regular expression tests
2012-10-20 15:00:25 -07:00
Robert Krimen
3a6dcf46ef
Don't expose re2 regular expression via //.source
2012-10-20 12:55:29 -07:00
Robert Krimen
05ee181c34
Fix parsing of null, etc. on Object intialization
...
true, false, etc.
2012-10-19 16:24:14 -07:00
Robert Krimen
ed98144c35
Remarks on UTF-8/16
2012-10-17 11:54:04 -07:00
Robert Krimen
474a473e36
Convert _syntaxError to SyntaxError (eval)
2012-10-17 10:27:22 -07:00
Robert Krimen
a780c85861
Fill out switch, for, for-in labelling
...
This and the previous commit fix #4
2012-10-16 23:11:35 -07:00
Robert Krimen
58cf2a4b67
Add break capability to switch
2012-10-16 22:57:25 -07:00
Robert Krimen
defac5b22e
Fix prototype property being read-only
...
Fix #3
2012-10-15 22:12:36 -07:00
Robert Krimen
235c19bd71
Substitute undefined for failed captures in String.replace
...
When String.replace(...) is called with a replacement function.
Again, similar to the scenario in #2 .
2012-10-14 22:50:17 -07:00
Robert Krimen
b718c5ec2a
Handle missing captures gracefully in String.replace
...
This is related to #2
2012-10-14 22:33:22 -07:00
Robert Krimen
a12391834e
Sometimes RegExp captures can fail, detect this
...
Fix #2 (In .exec so far)
2012-10-14 21:45:38 -07:00
Robert Krimen
89e26f042e
Allow empty test/update in for statements
...
Fix #1
2012-10-14 10:42:06 -07:00
Robert Krimen
7dfbf6ab13
Better regular expression syntax checking
...
And a limitation elaboration
2012-10-12 18:55:41 -07:00
Robert Krimen
02929cbeb1
Shortcut the production of Object.Value()
2012-10-11 18:22:00 -07:00
Robert Krimen
c57edbfe2b
Alter Object.Call to be more in line with .Get, .Set
2012-10-11 17:57:51 -07:00
Robert Krimen
ff5fc43690
Add Date.toUTCString
2012-10-07 23:05:15 -07:00
Robert Krimen
dc0406aeb7
setSeconds/Minutes/Hours/Date, etc.
2012-10-07 23:02:25 -07:00
Robert Krimen
fa0f2abc44
Use new date adjustment technique
2012-10-07 22:54:39 -07:00
Robert Krimen
e35b7985f6
Implement Date.setMonth/setUTCMonth
2012-10-07 19:16:58 -07:00
Robert Krimen
42d43e0878
Make sure to error out early on ReferenceError
2012-10-07 18:47:13 -07:00
Robert Krimen
979a87a79d
Fix casing on evaluateNew
2012-10-07 18:39:12 -07:00
Robert Krimen
a101717e89
Test for not erroring out early
2012-10-07 18:30:59 -07:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00