简体   繁体   English

需要在JavaScript中对window.siteData进行澄清

[英]Need clarification on window.siteData in javascript

I have come across a variable in javascript called window.sitedata but tried to search the details regarding it but unable to find. 我在javascript中遇到了一个名为window.sitedata的变量,但试图搜索有关该变量的详细信息,但找不到。 Can some explain what is window.sitedata in java script ? 可以解释一下Java脚本中的window.sitedata吗? what is its purpose, any documentation regarding it would be helpful. 它的目的是什么,有关它的任何文档都将有所帮助。

I think window.sitedata is not available. 我认为window.sitedata不可用。 Refer below link for window object properties. 有关窗口对象属性的信息,请参见下面的链接。

https://www.w3schools.com/js/js_ex_browser.asp https://www.w3schools.com/js/js_ex_browser.asp

FYI https://developer.mozilla.org/en-US/docs/Web/API/Window 仅供参考https://developer.mozilla.org/en-US/docs/Web/API/Window

sitedata is a custom variable because the native window object does not have a property called sitedata . sitedata是一个自定义变量,因为本机window对象没有名为sitedata的属性。

You may ask (if possible) the programmer who developed the code. 您可以(如果可能)询问开发代码的程序员。

Reference: 参考:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM