Robert Krimen
7e2b4f2063
Rewrite of property handling to be more robust and compliant
...
* No more _stash
* Now using a "virtual table" system via _objectClass
* Make Array.concat GoArray compatible (via .isArray())
Fix #16
2013-05-12 14:14:51 -07:00
Robert Krimen
2ec9b0843c
eval is not a constructor
2013-04-28 11:29:20 +02:00
Robert Krimen
8d09167814
HasInstance should only exist on a Function
2013-04-20 21:41:00 -07:00
Robert Krimen
2642607a58
Fix HasInstance to recurse the prototype hierarchy
2013-04-20 20:03:34 -07:00
Robert Krimen
299495ba0a
Set callee property of Arguments object
2013-03-05 09:08:46 -08:00
Robert Krimen
fef122900f
Add Function.bind
2013-03-01 13:08:10 -08:00
Robert Krimen
16a30ee951
Differentiate between direct and indirect eval
2013-02-27 21:23:21 -08:00
Robert Krimen
aaa90bf65c
Fix HasInstace (instanceof) to return false
...
Should not TypeError panic on a non-Object
2013-02-04 15:21:00 -08:00
Robert Krimen
a879744c20
Add Go <=> JavaScript type interaction
...
Via reflection for struct, map, and slice/array
Fix #10
2013-02-04 10:31:44 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -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
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00