jerryscript-project/jerryscript

RegExp.rightContext differs between Jerryscript and V8

Qbtly opened this issue · 0 comments

JerryScript revision

ff9ff8f

Build platform

Ubuntu 22.04.3

Build steps
python ./tools/build.py --builddir=xxx --clean --debug --compile-flag=-fsanitize=address --compile-flag=-g --strip=off --lto=off --logging=on --line-info=on --error-message=on --stack-limit=20
Test case
var str = "ab";
var pattern = /a/;
str.split(pattern);
print(RegExp.rightContext);
Execution steps
./xxx/bin/jerry poc.js
Output
Jerryscript: undefined
V8: b