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 UCL Offer Holders Thread for 2024 entryLast reply 1 minute ago
Accenture Degree Apprenticeship 2024Last reply 1 minute ago
Official University of Edinburgh Applicant Thread for 2024Last reply 4 minutes ago
Official Dental Hygiene and Therapy (Oral Health Science) 2024 Entry Thread2864
Last reply 4 minutes ago
Am I allowed a Calculator for university Computer Science exams?Last reply 8 minutes ago
Official London School of Economics and Political Science 2024 Applicant ThreadLast reply 8 minutes ago
SMPCETs, Scottish STP, Clinical Scientist Trainee applicants for 2024Last reply 11 minutes ago
AQA A Level French Paper 3 (Speaking/IRP) 7652/3 - 2024 [Exam Chat]Last reply 13 minutes ago
Official University of St Andrews Applicant Thread for 2024Last reply 14 minutes ago
Official Politics and/or International Relations Applicants Thread 2024Last reply 16 minutes ago
Official: University of Manchester A106 2024 Entry Applicants1290
Last reply 16 minutes ago
BAE systems degree apprenticeships September 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
iDEA run code error worker resolution badgeLast 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
iDEA run code error worker resolution badge