Using Reflect.ownKeys()

41.7% Acceptance

In this lab, you will learn to use the Reflect.ownKeys() method, which returns an array of own property names and symbols of a given object. You'll create an object, write a function to retrieve its own property names using Reflect.ownKeys(), and then call that function, storing the result in a variable. All the objects will be exported using ESM (ECMAScript Modules) syntax.