Write a JS class that represents a personal record. It has the following properties, all set from the constructor:
And a method toString(), which prints a summary of the information. See the example for formatting details.
The constructor function will receive valid parameters.
The toString()method should return a string.
Submit the class definition as is, without wrapping it in any function.
let person = new Person('Maria', 'Petrova', 22, 'email@example.com');
Maria Petrova (age: 22, email: firstname.lastname@example.org)