25. JavaScript Objects - What is Constructor Function?

preview_player
Показать описание
#MissXing #JavaScript #JavaScriptObject
In this video, we explained the other way to create Objects in JavaScript using constructor function. Constructor Functions are regular functions with two differences: the first letter of function name is capital; call with new keyword.

Source code:
Рекомендации по теме
Комментарии
Автор

i want to ask you if we used lower case with first letter of constructor function, can we still create an object from constructor function?

gt-ujfz