Dmitry Panov
|
c0d5092cad
Make Export() for classes return func(ConstructorCall) *Object. Closes #671
|
vor 3 Monaten |
shiroyk
|
fa6d1ed5e4
Implemented BigInt (#597)
|
vor 1 Jahr |
Dmitry Panov
|
eb1f15ee67
Added Object.GetOwnPropertyNames(). Closes #584.
|
vor 1 Jahr |
Dmitry Panov
|
9410bcaa81
Implemented template-backed objects and used them for most of the built-ins. Closes #524, closes #459.
|
vor 2 Jahren |
Dmitry Panov
|
c933cf95e1
Exposed String and StringBuilder. Closes #321.
|
vor 2 Jahren |
Dmitry Panov
|
7749907a8a
Update the length property when it's accessed, rather than on grow/shrink. Maintain pointer type of a wrapped *[]any. Fixes #521.
|
vor 2 Jahren |
Dmitry Panov
|
235299346f
ExportTo() now supports exporting of ArrayBuffer and ArrayBuffer-backed values into []byte. Export() of typed arrays returns the typed slice.
|
vor 2 Jahren |
Dmitry Panov
|
b68b7457e4
Introduced Runtime.Try, and Runtime.InstanceOf. Closes #268.
|
vor 2 Jahren |
Dmitry Panov
|
428fc442ff
Ensure SameAs and StrictEquals behave the same for Objects, as per ECMAScript spec
|
vor 2 Jahren |
Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
vor 2 Jahren |
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.
|
vor 2 Jahren |
Dmitry Panov
|
09250e0eba
Added Object.UnmarshalJSON
|
vor 3 Jahren |
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
|
vor 3 Jahren |
Dmitry Panov
|
7adb499685
Fixed Export() value for arrow functions and classes. Added Runtime.AssertConstructor. Closes #419.
|
vor 3 Jahren |
Dmitry Panov
|
fca9b95977
Added NewSharedDynamicObject() and NewSharedDynamicArray(). Closes #418.
|
vor 3 Jahren |
Dmitry Panov
|
0b5d210524
Implemented classes (including private elements). Closes #349.
|
vor 3 Jahren |
Dmitry Panov
|
61453c17e2
Reverted to the old behaviour of returning an error when converting non-array values into slices. Fixes #369, closes #370.
|
vor 3 Jahren |
Dmitry Panov
|
f3aaa50fcb
Improved export of Map, Set and iterable objects. Closes #368.
|
vor 3 Jahren |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
vor 3 Jahren |
Dmitry Panov
|
4c062c2b35
Fixed accessor and property key function names. Fixes #314.
|
vor 4 Jahren |
Dmitry Panov
|
f3cfc97811
Block-scoped declarations (#264)
|
vor 4 Jahren |
Dmitry Panov
|
084ecb42b0
Implemented DynamicObject and DynamicArray as a simplified Proxy alternative
|
vor 4 Jahren |
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.
|
vor 4 Jahren |
Dmitry Panov
|
6060b0671c
Exposed Symbol
|
vor 4 Jahren |
Dmitry Panov
|
8ce18d86df
Added (*Object).Delete() method. See #205
|
vor 5 Jahren |
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
|
vor 5 Jahren |
Dmitry Panov
|
536f9d9465
Export() and ExportTo() now support circular objects. Fixes #162, closes #188.
|
vor 5 Jahren |
Dmitry Panov
|
f19759604c
Renamed Value.ToPrimitiveString() to ToString() which matches a method that existed in the master.
|
vor 5 Jahren |
Dmitry Panov
|
d0b8fda54c
Added es6 Number methods, switched to own formatter.
|
vor 5 Jahren |
Dmitry Panov
|
60b86f2254
Missing Date methods, better overflow handling, refactoring (#147)
|
vor 5 Jahren |