how to write a function to resotre array in js code example
Example 1: js array
const users = ["Mark", "Greg"];
Example 2: javascript to array
Array.from("Hello"); // ["H", "e", "l", "l", "o"]
const users = ["Mark", "Greg"];
Array.from("Hello"); // ["H", "e", "l", "l", "o"]