how to return in an array in js code example Example: return array javascript function func() { return [5, "string", {a: 7}]; }