Convert a Set to Array

Write a function that takes a Set as argument. Convert the Set to an Array. Return the Array
JavaScript
Console