Puas yog node JS rov qab tau tshaj?
Puas yog node JS rov qab tau tshaj?

Video: Puas yog node JS rov qab tau tshaj?

Video: Puas yog node JS rov qab tau tshaj?
Video: Qhia saib seb yus tu hlub комментарий thiab nias like rau leej twg 2021 2024, Hlis ntuj nqeg
Anonim

Node . js versions yog feem ntau rov qab sib haum , txhais tau tias code koj sau rau Node 8 yuav ua haujlwm Node 10 lossis 12. Yog li, yog tias koj tsuas muaj JavaScript qub xwb koj yuav tsum tsis muaj teeb meem kho dua tshiab.

Dhau li ntawd, kuv yuav tsum siv cov node JS twg?

Cov Node JS lub vev xaib hais tias "Cov ntawv thov tsim khoom yuav tsum nkaus xwb siv Active LTS lossis Maintenance LTS tso tawm "( Node JS org, 2020). Qhov no txhais tau hais tias yog hnub no koj pib kawm nrog Node JS 14, koj yog qhov zoo rau xa tawm cov khoom tsim tawm hauv 2023 nrog tib yam version.

Ib yam li ntawd, yog node 12 ruaj khov? Nod 12 yuav pib khiav ntawm V8 7.4 thiab nws thiaj li hloov mus rau 7.6 thaum nws lub neej. Pab pawg V8 tau pom zoo muab ABI (Application Binary Interface) ruaj khov rau qhov chaw no.

Hauv qhov no, Node JS LTS version yog dab tsi?

LTS : LTS yog ib lub npe luv rau Long-Term Support, thiab siv rau tso tawm kab (yog, uas yog plural) uas yuav tau txais kev txhawb nqa thiab tswj los ntawm tus Node . js qhov project rau ncua sij hawm.

Qhov tseeb node js version yog dab tsi?

Node . js v 12 tuaj txog ntawm lub sijhawm. Nws tau nkag mus rau LTS thaum Lub Kaum Hli thiab yuav khaws cia kom txog thaum 2022. Lub sijhawm no, Node 13 tau los ua tus tam sim no version.

Pom zoo: