Debian Codegraph @

reg-exp/#/sticky/is-implemented.js

raw symbols SCIP
1 "use strict";
2
3 module.exports = function () {
4 var dummyRegExp = /a/;
5 // We need to do check on instance and not on prototype due to how ES2015 spec evolved:
6 // https://github.com/tc39/ecma262/issues/262
7 // https://github.com/tc39/ecma262/pull/263
8 // https://bugs.chromium.org/p/v8/issues/detail?id=4617
9 return "sticky" in dummyRegExp;
10 };