Javascript Polyfills Explained Simply
Vložit
- čas přidán 7. 06. 2021
- What is a polyfill?
A polyfill is a piece of code that is used to provide/fill-in some feature on older browsers that don't support that feature by default. For example, there are some JavaScript functions/features that Google Chrome supports but Internet Explorer does not support (like Promises or Object.assign()). In order to ensure that the website doesn't break in IE, a developer could write a piece of polyfill code that simulates the missing functionality that IE does not support.
📚 Materials/References:
GitHub Code: github.com/pkellz/devsage/blo...
🌎 Find Me Here:
Twitter: / realdevsage
Ebooks: payhip.com/devsage
Discord: / discord
Merch: cottonbureau.com/people/devsage
❌ Correction:
At 7:58, I said "signature" when I should have said "reference".
🤖 GitHub: github.com/pkellz/devsage/blob/master/Javascript/Polyfill.js
💙 Twitter: twitter.com/realDevSage
📙 Ebooks: payhip.com/devsage
💥 Discord: discord.gg/BP8wPv6raA
Why tf is Internet Explorer still considered a browser
Thank you, I just learned about Pollyfill and your video was on point. I was working on a story at work that needed this overriding, and it worked. I feel so happy now.
Absolutely 10/10 explanation!! Love it
Glad to hear it!
Very well explained, nice job!
Thanks!
very well explained.
Conclusion: Deprecate IE and move on. If you check right now both the arrow functions page and the promise page, you¿'ll notice they are basically universally accepted.
Great explanation! Thank you❤
Love the explanation, thank you!
Great explanation thank you
Great explanation. How were you able to get that glowing font affect for vscode?
It's the Synthwave '84 VSCode theme
Nice tutorials! Good work.
On a constructive note, there is only one flaw with your videos: The “intro music” is kinda wonky. I know it sounds petty, but just a marketing tip.
Thanks for the feedback
Nice explanation, Thanks!
Amazing .. finally understood this time :) Thank you :)
No problem, Praveen
Thanks for this nice and concise explanation
No problem!
Absolutely amazing 👏🏻
Good content! Keep going
Thank you!
Very good explanation for polyfill n callbackFunction for me, so helpful.
awesome vid! thank you!
You're welcome!
Great explanation 👍🏼
Glad you think so!
Super awesome 🔥
Too good explanation 🎉
Thank you Harshit
Thank you so much! ❤️
Can you please tell me what theme you're using on vscode?
Synthwave '84
Thank you so much
Thanks a lot... I understand polyfill now... but I dont' understand why the val of this would refer to the arr ?
amazing thanks
You're welcome
Why can't you just use arr in your polyfill? How does this know to reference your array?
Nice explanation but Eventhough I know "this" I didn't understand there why it refer to the that array exactly. It would have been great if u explained it
The “this” keyword refers to the instance of the object. In this example he was already intending to use arr. However in any case it just refers to the object that you plan to invoke the method on. So if you had an object apples =[“gala”, “Fuji”] you would invoke apples.forEach(lambda function). In the foreach method we look for “this” and it is referring to apples
wait this is not a fireship video
atleast zoom in so that user can see the code
Unreadable :-(
I learned that Internet Explorer is bad!