Back to Browse

JavaScript Functions | Functions in JavaScript - 6 | Constructor function

49 views
Oct 24, 2024
18:15

Source Code - https://github.com/incomputingworld/JS-functions Related Articles - https://sunilkathuria.substack.com/ https://medium.com/incomputingworld Playlist - https://www.youtube.com/@InComputingWorld/playlists In this video, we will learn about constructor functions, a powerful way to create multiple objects with the same structure and behavior. You will understand the difference between a constructor function and a normal function. Understand the concept and usage of new and new.target keywords. Understand the concept and usage of prototypes, [[prototype]] (read as proto), and prototype chains and how they can control an object's size and leverage prototype inheritance. Learn about the effect of a return statement in a constructor function when it returns an object and when it returns a value. Practice questions with solutions available on GitHub. Music by: Bensound.com/free-music-for-videos License code: VO4NZ1BKSGUQOKFU

Download

0 formats

No download links available.

JavaScript Functions | Functions in JavaScript - 6 | Constructor function | NatokHD