Polyfills in JavaScript | ( forEach, map, filter, reduce ,reduceRight )

Опубликовано: 19 Январь 2025
на канале: xplodivity
1,017
42

In this video I teach you how to implement forEach, map, filter, reduce and reduceRight functions in JavaScript from scratch. This video will teach you the patterns on how to approach creating polyfills of any function and it will also give you in-depth knowledge about how these functions actually work behind the scenes.

0:00 - Intro
0:45 - forEach polyfill
08:48 - map polyfill
17:12 - filter polyfill
29:09 - reduce polyfill
46:55 - reduceRight polyfill