Function constructors are like this in which we pass args and function body as strings const sum = new Function('a', 'b', 'return a + b'); sum(2,3) I think what you are telling is the "Constructor functions"
11:54 we are creating the function getname and inside that we are using this why this is not ref to getname scope why it take reference of outer function
is function method of object creation we do not declare variables fname lname initially they are directly used as this.fname = fname. What will be their type let, var, const and whether they will be added in memory phase in global execution context?
Nice one! I have been working for so long using ES6 but I didn't know that Classes were introduced with ES6. Thanks Piyush!
Excited for next video ❤
Hey bro I love your series it’s very informative and knowledgeable
cleared all doubts. thanks a lot ⭐
Very very Well explained❤
thankyou bro 👌
very good and clear lector.
thank you bhai.
Thanks bhaiya for this video
Function constructors are like this in which we pass args and function body as strings
const sum = new Function('a', 'b', 'return a + b');
sum(2,3)
I think what you are telling is the "Constructor functions"
thank you piyush.
Inspiration❤
Sir please vidoe on Everything about class constructor
Well explained
You are gem 💎
Very very thanks to you
Thanks for video
Thank you ❤
11:54 we are creating the function getname and inside that we are using this why this is not ref to getname scope why it take reference of outer function
because when functions are called by their object (p1.getName()), then 'this' refers to the object and not the function
Please please please continue rust series'
Thanks bro🔥🫂♥️
please make more videos
Can you explain how const and class works in memory and code part
plz make video on this keyword
❤❤❤
release all videos.
Easy for u to say bud
Hello please tech us oops in js.
is function method of object creation we do not declare variables fname lname initially they are directly used as this.fname = fname. What will be their type let, var, const and whether they will be added in memory phase in global execution context?
that will not be treated like variables(const, let, var). here 'fname' would become the object "properties/keys" directly
Theme name sirji?
❤
Sir Rust ki new video banain plz
Great sir thanks ❤ from pak