A lot of web platform features landed in Chrome in 2018, but which is the best? This is the 4th and final part!
Over a mini-series of 4 episodes, Jake and Surma wittle 32 features down to one.
Part 1: https://www.youtube.com/watch?v=adgI8-W1VjE
Part 2: https://www.youtube.com/watch?v=URrbSSguYzw
Part 3: https://www.youtube.com/watch?v=kZ-a6SXTueU
In this episode:
trimStart/End https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimStart
import.meta https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta
RegEx named capture groups https://developers.google.com/web/updates/2017/07/upcoming-regexp-features
Intl.RelativeTimeFormat https://developers.google.com/web/updates/2018/10/intl-relativetimeformat
ResizeObserver https://developers.google.com/web/updates/2016/10/resizeobserver
Audio worklet https://developers.google.com/web/updates/2017/12/audio-worklet
Fetch cache mode https://fetch.spec.whatwg.org/#concept-request-cache-mode
Class fields https://developers.google.com/web/updates/2018/12/class-fields