This video will show you how to implement polyfill for array flat method from scratch with complete dry run of the entire recursive explanation.
0:00 - how does array flat work
6:43 - polyfill/Implementation from scratch
19:06 - line by line walkthrough of recursive code