Symbol keys of objects in JavaScript

Let's add a key with the Symbol type for some object. Let for example we have the following object:

let obj = {a: 1, b: 2, c: 3};

Let's add a new element to this object with a key from a symbol:

let sym = Symbol(); obj[sym] = 'text';

Make an object that has a symbol as one of its keys.

Output the object you created to the console.