之前写过代码,但是那个时候是使用jsp+div+css写页面,jquery负责页面数据展示和数据请求。近期在学习前端,发现有export和import,想起了之前没用过,就研究搜索了一下,发现这个是在 ES6中添加的,难怪之前学习js的时候没见过。
翻看了一下ecma官网介绍,发现ES6是在2015年推出的,从推出这个规范到各家浏览器厂商支持,再到市场上实际应用,一般需要3年左右的时间。ecma制定了一个浏览器端运行代码的规范(发号施令),编号为262。对应的实现有如下
javascript,在浏览器端的实现。
actionscript,不过这个现在已经不怎么用了。
这些浏览器实现是实际干活的。
node.js 也是运行javascript的,不过是在服务器端运行的,即可以用javascript写后台逻辑。
https://ecma-international.org/publications-and-standards/standards/ecma-262/
1st edition, June 1997
2nd edition, August 1998
3rd edition, December 1999
4th edition (not existing)
5th edition, December 2009
5.1th edition, June 2011
6th edition, June 2015
7th edition, June 2016
8th edition, June 2017
9th edition, June 2018
10th edition, June 2019
11th edition, June 2020
12th edition, June 2021
13th edition, June 2022
14th edition, June 2023
从官网提供的内容可以得知,从ES5开始,几乎每年发布一个版本。
参考文档
https://blog.csdn.net/weixin_65793170/article/details/136476532