Newsletter - https://avelx.co.uk
The with Javascript function is one of those dark parts of Javascript and most developers have never even heard of it. The with Javascript function simply binds the execution context with an object of your choosing, then if an unqualified name is used, in other words a memory pointer that doesn't exist or is unqualified the with function will review anything bound to the context's scope and look for a qualifying memory pointer and use that. It is NOT recommended to use with in a production application and is complex to read.
Liked this content? Buy Me A Kofi To Show Your Support: https://ko-fi.com/P5P34J14C
_______________
CHAPTERS
00:00 Introduction
00:25 How to use the with Javascript function
07:52 Why you shouldn't use the with Javascript function
15:40 Goodbye
_____________
Resources Mentioned
Javascript full course YouTube: https://www.youtube.com/watch?vgYZhIVCPlFY
Javascript full course playlist YouTube: https://www.youtube.com/playlist?listPLGC-hHIh7l5vs0uDGlQEXQGQR2hW8Gcwl
_____________
Get In Touch
For Sponsorship / Collaborations email:
[email protected]Instagram: https://www.instagram.com/avelxdev/
____________
Visit the website: https://www.avelx.co.uk
See my courses on Udemi: https://www.udemy.com/user/lawrenceturton/
Watch next
Programming 101 FREE YouTube Course: https://youtube.com/playlist?listPLGC-hHIh7l5s6Spz86OT1u0A7kvQH-2B0
Javascript Tutorials: https://youtube.com/playlist?listPLGC-hHIh7l5vs0uDGlQEXQGQR2hW8Gcwl