Commit History

Author SHA1 Message Date
  Dmitry Panov c0d5092cad Make Export() for classes return func(ConstructorCall) *Object. Closes #671 3 months ago
  Dmitry Panov bcd7cc6bf6 Added IsNumber(), IsBigInt() and IsString() convenience methods. Treat nil *big.Int as 0n. 6 months ago
  Hakkin Lain 436e551de7 Add Runtime.SetGlobalObject() method. 8 months ago
  Mihail Stoykov 79f3a7efcd Promise resolve and reject now return Interrupt errors (#624) 11 months ago
  Dmitry Panov 016eb72565 Numeric separator literal (#603) 1 year ago
  Dmitry Panov ac2ea62348 Updated tc39 tests. A number of fixes as a result: 1 year ago
  Dmitry Panov 6639a88c21 Added support for variadic Go functions in ExportTo(). Closes #582 1 year ago
  Dmitry Panov e401ed4502 Save return value and restore the stack before running finally. Fixes #553. 1 year ago
  Dmitry Panov b396bb4c34 Use thrown object's stack trace when re-throwing. Fixes #517, closes #544. 1 year ago
  Dmitry Panov 9410bcaa81 Implemented template-backed objects and used them for most of the built-ins. Closes #524, closes #459. 2 years ago
  Dmitry Panov c933cf95e1 Exposed String and StringBuilder. Closes #321. 2 years ago
  Dmitry Panov b196ae5149 Check for overflows in ipow() 2 years ago
  Dmitry Panov ba8a63e792 Implemented Runtime.ForOf 2 years ago
  Dmitry Panov 5937a312ed Reset args, newTarget and privEnv on recursive VM runs. See #481 2 years ago
  Dmitry Panov 78b980256d Reserve a stack slot for 'this' in recursive RunProgram calls. Fixes #477 2 years ago
  Dmitry Panov 9577c35d40 Set the callee value in recursive RunProgram calls. Fixes #477 2 years ago
  Dmitry Panov 8f6e415ca4 Fixed detection of await expressions in function parameter lists 2 years ago
  Dmitry Panov 96b1610dd4 Fixed stack lengths adjustment in suspend/resume 2 years ago
  Dmitry Panov 0341fef34b Fixed panic propagation. See #471. 2 years ago
  Dmitry Panov 6eb401d700 Fixed the propagation of un-catchable exceptions. See #471. 2 years ago
  Mihail Stoykov 03d8fb271c Propagate InterruptedError if returned by wrapped go function 2 years ago
  Dmitry Panov bce2464272 Got rid of funcName, using the callee object from the stack instead 2 years ago
  Dmitry Panov 33bff8fdda Async/await functionality (#464) 2 years ago
  Dmitry Panov 6c0d988379 Unified conversions to Value. Fixes #453. 2 years ago
  Dmitry Panov 3b8a68ca89 Include error message in the stack property. Closes #442. 2 years ago
  Mihail Stoykov 87952593a5 Don't clear interrupt until the stack is empty (#405) 3 years ago
  Dmitry Panov 4418d4575a Do not use fmt.Sprintf() for plain error strings. Fixes #388. 3 years ago
  Dmitry Panov cfb079cdc7 Removed special treatment of the last argument passed to a variadic Go function. Do not treat callables (functions) as array-like when exporting to slices. Fixes #369. 3 years ago
  Dmitry Panov 61453c17e2 Reverted to the old behaviour of returning an error when converting non-array values into slices. Fixes #369, closes #370. 3 years ago
  Dmitry Panov bf6af58bbc Refactored tests 3 years ago