Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a class called Movie that models a movie in JavaScript. The properties of your class must be title rating duration (in minutes) year released
Write a class called Movie that models a movie in JavaScript. The properties of your class must be title rating duration (in minutes) year released The minlmum methods you must provide for your class are getTitle getRating getDuration getReleaseYear Acceptable values for the rating property are "G, "PG, "PG-13, "R, "NC-17, and "NR. Heres What i have so far' var function (strTitle, strRating, nDuration, near) var title strTitle; this.getTitle0 var rating = strRating: this.getRating0 var duration = nDuration; this.getDuration0 var year = nYear; this.getYear)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started