We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b481337 commit b03a961Copy full SHA for b03a961
lib/Runtime/Library/JavascriptRegExpConstructor.cpp
@@ -360,6 +360,10 @@ namespace Js
360
EnsureValues(); // The last match info relies on the last input. Use it before it is changed.
361
this->lastInput = tempInput;
362
}
363
+
364
+ // Set implicit call flags since we are not necessarily making the original stored value available on re-load
365
+ // and are killing the store that backs two exposed properties.
366
+ this->GetScriptContext()->GetThreadContext()->AddImplicitCallFlags(ImplicitCall_Accessor);
367
*result = true;
368
return true;
369
case PropertyIds::lastMatch:
0 commit comments