0

Can we consider this as a class definition?

Like in C++ where you create a class and instantiate objects off of it

26th Jun 2017, 3:05 PM
Richard Opoku
Richard Opoku - avatar
2 ответов
+ 14
function clas(a) { this.a = a; //.... } new clas();....
26th Jun 2017, 3:07 PM
Valen.H. ~
Valen.H. ~ - avatar
0
No, its a class reference.....
26th Jun 2017, 3:30 PM
Nura Programmer
Nura Programmer - avatar