Question: Please help me to solve 4 th point with example 1. Copy your movies object from the previous assignment. 2. Use the . sort (

Please help me to solve 4 th point with example

Please help me to solve 4 th point with example 1. Copy

1. Copy your movies object from the previous assignment. 2. Use the . sort ( ) method to sort the array of movies by rating, best to worst. Make sure that at least one of your movies has a rating of 10. 3. Display a list of the movie titles and ratings, one per line. (Hint: You can use .map( ) and . join( ) in your console. log() .) 4. Create a function that given two genres and a movie object, will return true if the movie has both genres. Use . bind ( ) to use this function to filter your movie array. 5. Display a list the movie title and genres that result, one per line

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!