JavaScript `Array.from` unexpected behavior | XM Community
Skip to main content

Hi!
For this code:
let s = new Set(["ec", "ec"])
let arr = Array.from(s)
console.log(arr)
I expect

arr
be
["ec"]
, and it is so if put in my own webpage. But if it is embedded in Qualtrics,
arr
is
[]
.
Why is it?

Be the first to reply!

Leave a Reply