Dmitry Panov
|
bcd7cc6bf6
Added IsNumber(), IsBigInt() and IsString() convenience methods. Treat nil *big.Int as 0n.
|
6 月之前 |
Hakkin Lain
|
436e551de7
Add Runtime.SetGlobalObject() method.
|
8 月之前 |
shiroyk
|
fa6d1ed5e4
Implemented BigInt (#597)
|
1 年之前 |
Dmitry Panov
|
ac2ea62348
Updated tc39 tests. A number of fixes as a result:
|
1 年之前 |
Dmitry Panov
|
c665f0b58f
Properly convert reflect map keys into strings. Fixes #590.
|
1 年之前 |
Dmitry Panov
|
eb1f15ee67
Added Object.GetOwnPropertyNames(). Closes #584.
|
1 年之前 |
Dmitry Panov
|
6639a88c21
Added support for variadic Go functions in ExportTo(). Closes #582
|
1 年之前 |
Dmitry Panov
|
393f6d4249
Merge pull request #580 from a-donda/expose_exception_stack
|
1 年之前 |
Valeriy Gorelov
|
40ec41b444
Added Exception.Stack() method. Closes #479
|
1 年之前 |
Valeriy Gorelov
|
2ac268b744
Fix Exception.Error() output when e.val is nil and e is not
|
1 年之前 |
Dmitry Panov
|
873a1496dc
Wrap error returned by MarshalJSON() in GoError. Added Exception.Unwrap() which unwraps GoError. Fixes #540.
|
2 年之前 |
Dmitry Panov
|
9410bcaa81
Implemented template-backed objects and used them for most of the built-ins. Closes #524, closes #459.
|
2 年之前 |
Dmitry Panov
|
c933cf95e1
Exposed String and StringBuilder. Closes #321.
|
2 年之前 |
Dmitry Panov
|
ba8a63e792
Implemented Runtime.ForOf
|
2 年之前 |
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.
|
2 年之前 |
Dmitry Panov
|
28ee0ee714
Refactored conversion to primitive to better match modern ECMAScript standard. Wrapped Go values no longer have "toString" and "valueOf" methods defined on them. Closes #512.
|
2 年之前 |
Dmitry Panov
|
235299346f
ExportTo() now supports exporting of ArrayBuffer and ArrayBuffer-backed values into []byte. Export() of typed arrays returns the typed slice.
|
2 年之前 |
Dmitry Panov
|
b68b7457e4
Introduced Runtime.Try, and Runtime.InstanceOf. Closes #268.
|
2 年之前 |
Dmitry Panov
|
7c93113e17
Added a note about not retaining references to FunctionCall.Arguments.
|
2 年之前 |
Dmitry Panov
|
5937a312ed
Reset args, newTarget and privEnv on recursive VM runs. See #481
|
2 年之前 |
Dmitry Panov
|
9343cf0121
Implemented generators (only synchronous so far). Closes #436
|
2 年之前 |
Dmitry Panov
|
78b980256d
Reserve a stack slot for 'this' in recursive RunProgram calls. Fixes #477
|
2 年之前 |
Dmitry Panov
|
9577c35d40
Set the callee value in recursive RunProgram calls. Fixes #477
|
2 年之前 |
Dmitry Panov
|
0341fef34b
Fixed panic propagation. See #471.
|
2 年之前 |
Dmitry Panov
|
6eb401d700
Fixed the propagation of un-catchable exceptions. See #471.
|
2 年之前 |
Mihail Stoykov
|
03d8fb271c
Propagate InterruptedError if returned by wrapped go function
|
2 年之前 |
Dmitry Panov
|
bce2464272
Got rid of funcName, using the callee object from the stack instead
|
2 年之前 |
Dmitry Panov
|
33bff8fdda
Async/await functionality (#464)
|
2 年之前 |
Dmitry Panov
|
6c0d988379
Unified conversions to Value. Fixes #453.
|
2 年之前 |
Dmitry Panov
|
3b8a68ca89
Include error message in the stack property. Closes #442.
|
2 年之前 |