JavaScript gains first-class support for global substring replacement!
@mathias explains the new String.prototype.replaceAll API: https://v8.dev/features/string-replaceall …
(V8 v8.0 has an experimental implementation behind the --harmony-string-replaceall flag.)
-
-
Replying to @v8js
Could we fix this by the way?
pic.twitter.com/oYAWv8WvaM
2 replies 0 retweets 7 likes
Replying to @krosylight @v8js
Good catch! Filed https://github.com/v8/v8.dev/issues/281 … to track.
0 replies
0 retweets
7 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.