Scroll to see replies
var customer ={Name:"Ronald"};
function Customer(name){
this.Name = name;
}
car customer = new Customer('Ronald');
function Customer(name)
{
}
Customer.prototype.Name ='Ronald';*
var customer = new Customer();
var customer ={Name:"Ronald"};
Others do:
function Customer(name){
this.Name = name;
}
car customer = new Customer('Ronald';
And I've even seen
function Customer(name)
{
}
Customer.prototype.Name ='Ronald';*
var customer = new Customer();
* What are the differences between them ? Which should I use ? function add(a, b) { if (arguments.length < 1) { return add; } else if (arguments.length < 2) { return function(c) { return a + c } } else { return a + b; }}
Last reply 1 minute ago
Official University of Edinburgh Applicant Thread for 2024Last reply 2 minutes ago
University of Oxford 2025 Undergraduate Applicants Official ThreadLast reply 5 minutes ago
Official UCL Offer Holders Thread for 2024 entryLast reply 6 minutes ago
Official: University of Leicester A199 (foundation year) 2024 entry applicantsPosted 7 minutes ago
University of Surrey academics back no confidence vote as 'morale is very low'Posted 9 minutes ago
Is SOAS the Right Choice for Comparative Literature MA? Insights Wanted!Last reply 13 minutes ago
Official University of the Arts London Applicant Thread for 2024Last reply 17 minutes ago
WJEC Eduqas English Literature prediction 2024Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?