| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Benchmark Cl: https://ci.nodejs.org/view/Node.js%20benchmark/job/benchmark-node-micro-benchmarks/767/ |
Sorry, something went wrong.
Sorry, something went wrong.
|
@aduh95 - yeah, looks like this file cannot use primordials. but why ? is there any other files which cannot use primordials? |
Sorry, something went wrong.
|
Not sure, but I think this is a one-of. |
Sorry, something went wrong.
|
Feel free to continue discussion or even re-open if you think appropriate, but I'm going to close this since it doesn't seem like it's going to land. |
Sorry, something went wrong.
| filtered = filtered.split('\n'); | ||
| return out.replace(FUNC_RE, (all, prefix, postfix) => { | ||
| filtered = StringPrototypeSplit(filtered, '\n'); | ||
| return StringPrototypeReplace(out, FUNC_RE, (all, prefix, postfix) => { |
There was a problem hiding this comment.
Note that calling StringPrototypeReplace on a RegExp is unsafe, as it calls RegExp.prototype[Symbol.replace].
This should instead use:
| return StringPrototypeReplace(out, FUNC_RE, (all, prefix, postfix) => { | |
| return RegExpPrototypeSymbolReplace(FUNC_RE, out, (all, prefix, postfix) => { |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist