Es5 sawv cev rau dab tsi?
Es5 sawv cev rau dab tsi?

Video: Es5 sawv cev rau dab tsi?

Video: Es5 sawv cev rau dab tsi?
Video: coj kuv tus niam tsev mus yuav xas las paus noj nawb 2024, Kaum ib hlis
Anonim

ES 5 yog ib qho shortcut rau ECMAScript 5. ECMAScript 5 tseem hu ua JavaScript 5. ECMAScript 5 tseem hu ua ECMAScript 2009.

Hais txog qhov no, es5 vs es6 yog dab tsi?

ES6 vs ES 5 yog ob hom lus tseem ceeb hauv kev lag luam Software Development. Qhov no feem ntau yog siv rau cov neeg siv-sab ntawv sau rau ntawm Lub Ntiaj Teb Wide Web. Thawj tsab ntawm ECMA Script tau luam tawm thaum Lub Rau Hli 1997. Qhov thib rau version ntawm ECMA Script yog hu ua ES 6 (nws tseem hu ua ECMA Script 2015).

es 2016 yog dab tsi? ES 2016 , lub npe hu ua ECMAScript 2016, tau ua tiav thaum Lub Rau Hli 2016. Piv rau ES2015, ES 2016 yog ib qho me me tso tawm rau JavaScript, tsuas yog muaj ob lub ntsiab lus: Array. tsab ntawv. suav nrog.

Ib yam li ntawd, nws tau nug, dab tsi version ntawm JavaScript tam sim no?

Cov qhov tseeb JavaScript version ua 1,8. 5. (Ib yam li ECMAScript 5). ECMAScript tau tsim los ntawm ECMA International tom qab lub koom haum tau txais yuav JavaScript.

ESNext yog dab tsi?

ESNext yog yav tom ntej version ntawm ECMAScript uas tseem tsis tau tso tawm. ECMAScript yog lub npe qauv rau JavaScript. Ntau tus tsim tawm ntshai tsam siv cov yam ntxwv tshiab ntawm ECMA uas yog vim li cas cov yam ntxwv tshiab ntawm ECMAScript tuaj yeem ntxiv rau JavaScript xyaw kom cov neeg tsim khoom tuaj yeem tuav lawv nrog cov yam ntxwv ntxiv.

Pom zoo: