Fill in the blanks to create a constructor function: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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 = ___; }

31st Mar 2017, 9:56 AM
Ejaz Ali
Ejaz Ali - avatar
9 Answers
+ 1
title; director
15th May 2017, 8:16 PM
sawaimal
sawaimal - avatar
+ 1
function movie(title, director) { this.title = title ; this.director = director ; }
29th Mar 2020, 9:14 AM
Najeem Diwan
Najeem Diwan - avatar
+ 1
function construct
1st Sep 2021, 3:46 PM
nur ahmed
nur ahmed - avatar
0
title, director
11th Mar 2021, 10:44 PM
zip
zip - avatar
0
title director
21st May 2021, 6:39 PM
Adebisi Ola-Adebomi
0
title director
14th Jan 2022, 10:59 AM
James Obinna
0
function construct
17th May 2022, 7:27 AM
Megha Raj kandel
0
title director
31st Oct 2022, 3:46 AM
tristan asfar
tristan asfar - avatar
0
this.title = title ; this.director = director ;
19th Nov 2022, 10:39 AM
Rafiul Hasan Tonmoy
Rafiul Hasan Tonmoy - avatar