Exercise 2: Proxy

Test your skills of proxy by solving this exercise.

We'll cover the following...

Problem statement

Create a proxy that will receive a method that starts with play and returns the string message “I love to play …” message if the part after play is contained in an activities array ...