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.)
-
-
(It is automatically polyfilled by @babel/preset-env.)
Kraj razgovora
Novi razgovor
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
political philosophy, wellbeing, mentoring, lgbtq, worker coops, ETH/DAOs, Rust
Founder