Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
3 gadi atpakaļ |
Dmitry Panov
|
cc4634e76e
Use integer value cache for values from -256 to -1. Positive values (0-255) are covered by the Go runtime since 1.15.
|
3 gadi atpakaļ |
Dmitry Panov
|
09250e0eba
Added Object.UnmarshalJSON
|
3 gadi atpakaļ |
Dmitry Panov
|
ea66e91185
Catch exceptions into the last output value (unwrapping GoError) if its type is 'error', even if there is just one output value. See #434
|
3 gadi atpakaļ |
Dmitry Panov
|
7adb499685
Fixed Export() value for arrow functions and classes. Added Runtime.AssertConstructor. Closes #419.
|
3 gadi atpakaļ |
Dmitry Panov
|
fca9b95977
Added NewSharedDynamicObject() and NewSharedDynamicArray(). Closes #418.
|
3 gadi atpakaļ |
Dmitry Panov
|
0b5d210524
Implemented classes (including private elements). Closes #349.
|
3 gadi atpakaļ |
Dmitry Panov
|
61453c17e2
Reverted to the old behaviour of returning an error when converting non-array values into slices. Fixes #369, closes #370.
|
4 gadi atpakaļ |
Dmitry Panov
|
f3aaa50fcb
Improved export of Map, Set and iterable objects. Closes #368.
|
4 gadi atpakaļ |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
4 gadi atpakaļ |
Dmitry Panov
|
4c062c2b35
Fixed accessor and property key function names. Fixes #314.
|
4 gadi atpakaļ |
Dmitry Panov
|
f3cfc97811
Block-scoped declarations (#264)
|
5 gadi atpakaļ |
Dmitry Panov
|
084ecb42b0
Implemented DynamicObject and DynamicArray as a simplified Proxy alternative
|
5 gadi atpakaļ |
Dmitry Panov
|
b19cd2fe95
Added Object.entries(). Avoid slice allocation and copy in many cases when iterating over object keys. Avoid duplication of the length property when switching between regular and sparse arrays. Closes #246.
|
5 gadi atpakaļ |
Dmitry Panov
|
6060b0671c
Exposed Symbol
|
5 gadi atpakaļ |
Dmitry Panov
|
8ce18d86df
Added (*Object).Delete() method. See #205
|
5 gadi atpakaļ |
Dmitry Panov
|
253d82221b
Exporting to numeric types uses standard ECMAScript conversion operations instead of producing a zero value when conversion is not possible. Closes #190
|
5 gadi atpakaļ |
Dmitry Panov
|
536f9d9465
Export() and ExportTo() now support circular objects. Fixes #162, closes #188.
|
5 gadi atpakaļ |
Dmitry Panov
|
f19759604c
Renamed Value.ToPrimitiveString() to ToString() which matches a method that existed in the master.
|
5 gadi atpakaļ |
Dmitry Panov
|
d0b8fda54c
Added es6 Number methods, switched to own formatter.
|
5 gadi atpakaļ |
Dmitry Panov
|
60b86f2254
Missing Date methods, better overflow handling, refactoring (#147)
|
5 gadi atpakaļ |
Dmitry Panov
|
8d9f8c2670
Use a sequencer instead of pointer for object ids (because pointers are not guaranteed to remain the same).
|
5 gadi atpakaļ |
Dmitry Panov
|
5df89c3d31
Support for malformed UTF-16 strings and property keys. Missing String methods. (#146)
|
5 gadi atpakaļ |
Dmitry Panov
|
6567f6ffae
Minor array index conversion fixes for 32-bit platforms.
|
5 gadi atpakaļ |
Dmitry Panov
|
1236576b0d
Typedarrays (#137)
|
5 gadi atpakaļ |
Dmitry Panov
|
47fce32384
Fixed concurrent use of hashmap.Hash
|
6 gadi atpakaļ |
Dmitry Panov
|
a13c43b62b
Proxy (#135)
|
6 gadi atpakaļ |
Dmitry Panov
|
a0559b5ea4
Missing Object methods, ToPropertyKey, GetV
|
6 gadi atpakaļ |
Dmitry Panov
|
0a7d410a91
Implemented Map, Set, WeakMap, WeakSet (#130)
|
6 gadi atpakaļ |
Dmitry Panov
|
37522a24db
Implemented Symbol (#128)
|
6 gadi atpakaļ |