Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Pass an Object to a Function

A function can receive an entire object and read the properties it needs.

Your task

Complete printStudent so the existing call displays Student: Leo, Level: 2. Read both values from its student parameter.