- 3
Fill in the blanks to create a constructor function:
Fill in the blanks to create a constructor function: function movie(title, director) { this.title = ___; this.director = ___; }
9 ответов
+ 1
title;
director
+ 1
function movie(title, director) {
this.title =
title
;
this.director =
director
;
}
+ 1
function
construct
0
title,
director
0
title
director
0
title
director
0
function
construct
0
title
director
0
this.title = title ;
this.director = director ;