Ios native call js, what is the global scope of js?

1. If I call the function of js natively, I am not sure what the scope of the function of js is. I packaged the node module with bowseriry and wanted to expose the function I wrote to the native call
. For example, the global domain of window,node in the browser is global,. I don"t know the global domain of JavaScriptCore provided by ios

.

in fact, your code should be allowed in webview, which is also window. Or if you directly call the code


javascriptcore of JavaScriptcore, you can get the value of the global variable through jscontext ["@ key"]; jscontext can be understood as window


or window in the browser!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35052-2bf45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35052-2bf45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?