Create a variable named wdiStudent
and assign it to an object literal.
- Give your student at least three properties.
- One must have a key that contains a hyphen.
- One must contain an array or object.
- Update two properties, one of which is the hyphenated.
- Give your student a new property using dot or bracket notation.
- Delete one attribute.
- Iterate through and print out all of the student's key-value pairs.
Bonus: Write a function that returns your wdiStudent
object