Closed neoimale closed 1 year ago
I found that the statement data instanceof Array in encoding.js is incorrect when checking arrays across iframe, which expected to be true.
data instanceof Array
Maybe Array.isArray is preferred? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#instanceof_vs_isarray
Array.isArray
This was the longest-standing issue here. This will be fixed in the next release!
I found that the statement
data instanceof Array
in encoding.js is incorrect when checking arrays across iframe, which expected to be true.Maybe
Array.isArray
is preferred? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#instanceof_vs_isarray