- Create a symbol and store it in a variable named
- Create an object called
myObjectand set a property key using the created symbol.
- Create a function named
getOwnPropertySymbolsthat takes an object as argument and returns an array containing the Symbol property keys of that object.