为什么没有官方JavaScript参考? [英] Why is there no OFFICIAL JavaScript reference?

查看:128
本文介绍了为什么没有官方JavaScript参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图搜索JavaScript引用,但没有可用的。最好的两个建议来源是MDN(Mozilla开发者网络)和W3Schools。

I tried to search for a JavaScript reference, but there's none available. The best two suggested sources are MDN (Mozilla Developer Network) and W3Schools.

为什么?

推荐答案

这不像是一个正式的JavaScript版本。所有的浏览器都有自己的JavaScript引擎 - 有些使用相同的。但特别是Internet Explorer有自己的版本,不支持其他浏览器支持的很多内容,因此很难制作一般的JavaScript参考。

It's not like there is an official JavaScript release. All the browsers have made their own JavaScript engine - some are using the same though. But especially Internet Explorer has its own version that doesn't support a lot of what the other browsers support, making it very difficult to make a general JavaScript reference.

编辑:

虽然我知道有一个官方的ECMA标准和开发团队,但我的观点是,只要浏览器(Internet Explorer)不起作用就没关系它。在一天结束时,客户希望JavaScript也适用于Internet Explorer。他们不会关心ECMA标准,他们只是希望它能够发挥作用。这就是JavaScript库进入图片的地方,但这是另一个故事。


While I know there is an official ECMA standard and development team, my point is that it doesn't really matter as long as browsers (Internet Explorer) doesn't live up to it. At the end of the day, clients want JavaScript to work for Internet Explorer too. They won't care about the ECMA standards, they just want it to work. This is where JavaScript libraries come into the picture, but that's another story.

这与HTML和CSS的问题相同,我们不能使用这些工具进行主动开发,直到:

It's the same issues with HTML and CSS, we can't use these tools for active development until:


  • 所有浏览器都支持它们。

  • 我们为浏览器提供代码以使它们支持它。

  • 没关系它在所有浏览器中都不起作用。

Edit2 :

借助Microsoft的新浏览器项目,Internet Explorer正在接近坟墓。然而,这并没有真正改变整体情况。如果我们需要支持不同的浏览器,我们仍然有很多。开发人员不断尝试突破可能的界限。这意味着我们经常遇到这个问题,我们要支持的某些浏览器版本不支持标准的某些功能(通常有点流畅),这意味着我们需要做一些解决方法或使用实现缺少的内置功能的框架。


Internet Explorer is getting close to the grave with the new browser project from Microsoft: Edge. This, however, doesn't really change the overall picture. We still have a lot if different browsers we need to support. Developers are constantly trying to push the boundaries of what's possible. This means that we often have this issue, some browser version we want to support doesn't support some feature of the standard (which usually is a bit fluid), which means we need to make some workaround or use frameworks that implement the missing built in features.

这篇关于为什么没有官方JavaScript参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆