DEV Community

Ayoub
Ayoub

Posted on

OOP JAVASCRIPT PROBLEM !!!

how define the type of variable in constractor javascript oo
Class Personne{
constractor(name){
this.name = name
}
}
how can i make the name type string

Discussion (0)