如果在脚本范围之外使用它是不好的做法。 但是,如果脚本生成这样的链接,那么它''不是问题。我相信这是马特瞄准的目标(通知,''肯定知道''),但 也许应该强调,因为警告可能不会请注意。 [snip] 我还没读过这份文件。我会在一些 点左右... ... Mike - - 迈克尔·温特 前缀主题[新闻],然后通过电子邮件回复。It''s bad practice when that''s used outside the scope of a script.However, if a script generates such a link, then it''s not an issue. Ibelieve that''s what Matt was aiming at (notice, ''know for sure''), butperhaps it should be emphasised as the caveat might not be noticed.[snip]I haven''t really read the document yet. I''ll get around to it at somepoint... :)Mike--Michael WinterPrefix subject with [News] before replying by e-mail. 这篇关于Javascript Best Practices Document v1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-06 04:13