Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎我们可以通过上下文对象JSObject的CreateObject方法创建,但似乎我们不能创建一个JSArray?有没有别的办法ExecuteJavaScriptAndReturnValue("[]")?
JSObject
CreateObject
JSArray
ExecuteJavaScriptAndReturnValue("[]")
JavaScript 数组只能使用 'ExecuteJavaScriptAndReturnValue' 方法创建。