Dmitry Panov
|
a34e79884e
Fixed merge conflicts
|
3 years ago |
Dmitry Panov
|
f82ffd2b2c
Merge remote-tracking branch 'psilva261/bigints' into upgrade-tests-bigint
|
3 years ago |
Dmitry Panov
|
f1567f3952
Upgraded tests, lots of fixes as a result
|
3 years ago |
Philip Silva
|
307513316c
Basic implementation of BigInt, BigInt64Array and BigUint64Array
|
3 years ago |
Dmitry Panov
|
dc8c55024d
Implemented Promise. Closes #178.
|
4 years ago |
Dmitry Panov
|
7efcb634c6
Support conversion from string types to []byte. Fixes #333
|
4 years ago |
Dmitry Panov
|
6e5fa0950d
Prefer the exported value when doing type conversions to preserve wrapped values. Only use reflect.Convert() if the types' kinds match. Closes #329.
|
4 years ago |
Dmitry Panov
|
32956a348b
Arrow function (#319)
|
4 years ago |
Dmitry Panov
|
946559a566
Fixed typed arrays' defineProperty and indexing. Fixes #308.
|
4 years ago |
Dmitry Panov
|
7ad1be9aa9
Support for assignment patterns in for-in and for-of loops. Support for spread elements in call arguments. Fixed various issues related to destructuring assignments. See #305.
|
4 years ago |
Dmitry Panov
|
705acef95b
Support dereferencing in ExportTo(). Closes #300
|
4 years ago |
Dmitry Panov
|
a9b721bfc5
Removed restriction on resizing unaddressable Go slices. See #265.
|
4 years ago |
Dmitry Panov
|
0b7b48cdab
Deleting from a Go slice sets the element to a zero value rather than failing. Fixes #253, see #262, closes #265.
|
4 years ago |
Dmitry Panov
|
65d24f7432
Implemented SetMaxCallStackSize(). Closes #263
|
4 years ago |
Dmitry Panov
|
f3cfc97811
Block-scoped declarations (#264)
|
4 years ago |
Mihail Stoykov
|
f5884268f0
String.prototype.matchAll implementation (#248)
|
4 years ago |
Dmitry Panov
|
084ecb42b0
Implemented DynamicObject and DynamicArray as a simplified Proxy alternative
|
4 years ago |
Dmitry Panov
|
eb3de9ec1a
Changed WeakMap implementation to avoid memory leaks in some common usage scenarios. Fixes #250.
|
4 years ago |
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.
|
4 years ago |
Dmitry Panov
|
06e99480d2
Added support for native functions with *Runtime as a parameter. See #243
|
4 years ago |
Dmitry Panov
|
962bd75fb2
Upgraded tc39 tests
|
4 years ago |
Dmitry Panov
|
6b6d5e2b5d
Use source name provided by source map. See #235.
|
4 years ago |
Dmitry Panov
|
10e5c75992
Introduced options for parser. Added options to set a custom source map loader or to disable source map support. See #235.
|
4 years ago |
Dmitry Panov
|
be0895b77e
Added Runtime.NewArray()
|
4 years ago |
Dmitry Panov
|
6060b0671c
Exposed Symbol
|
4 years ago |
Dmitry Panov
|
ea06c24ab3
Fixed documentation
|
4 years ago |
Dmitry Panov
|
44400d2d22
Do not create an object if a native constructor is called without 'new'. Closes #228.
|
4 years ago |
Dmitry Panov
|
45a6777094
Make sure (*Runtime).New() catches SyntaxError and other Values thrown
|
4 years ago |
Dmitry Panov
|
81ddb8a7cc
Rewrote the handling of weak keys to avoid creating circular structures when weak keys are reachable from Runtime. Fixes #199.
|
5 years ago |
Dmitry Panov
|
9af81ddcf0
Support exporting Date to time.Time
|
5 years ago |