]> git.kaiwu.me - quickjs.git/commit
added JS_ToInt64SatF() and fixed String.prototype.repeat with it. Modify Iterator...
authorFabrice Bellard <fabrice@bellard.org>
Sat, 26 Sep 2026 14:10:20 +0000 (16:10 +0200)
committerFabrice Bellard <fabrice@bellard.org>
Sat, 26 Sep 2026 14:10:20 +0000 (16:10 +0200)
commit21cbd86b016c925e6b01a7e0ad2cfa7889142290
tree791c634b06621275436cf417a6e8d327dea0c7e1
parentc8ef88981b9ef4e791ea0e4c7fc7a0687ed3bc1c
added JS_ToInt64SatF() and fixed String.prototype.repeat with it. Modify Iterator.prototype.drop/take to use it even if it is not strictly compliant as it avoids converting to double when the argument is a short integer value
quickjs.c