▲ TIL: String.prototype.replace supports replacement patterns at www.stefanjudis.com▼4 up and 0 down, posted by stefanjudis 1935 days ago 2 comments
MaxArt 1935 days ago. link 2 points ▲ ▼I knew about $&, but TIL about $' and $`. Thanks Stefan! (Although I'm not sure I'll ever use it 😅)