REPL yog dab tsi hauv node JS?
REPL yog dab tsi hauv node JS?

Video: REPL yog dab tsi hauv node JS?

Video: REPL yog dab tsi hauv node JS?
Video: Tau kev seev vim ruam tsis deev. 9/28/2017 2024, Hlis ntuj nqeg
Anonim

REPL stands rau Nyeem Eval Print Loop thiab nws sawv cev rau lub computer ib puag ncig zoo li Windows console lossis Unix/Linux plhaub qhov twg cov lus txib nkag mus thiab lub kaw lus teb nrog cov zis hauv kev sib tham sib. Node . js los yog Node los bundled nrog a REPL ib puag ncig.

Ntxiv mus, kev siv REPL hauv node JS yog dab tsi?

REPL (NYEEM, EVAL, PRINT, LOOP) yog lub computer ib puag ncig zoo ib yam li Plhaub (Unix/Linux) thiab hais kom ua. Node los nrog cov REPL ib puag ncig thaum nws raug ntsia. Lub kaw lus cuam tshuam nrog tus neeg siv los ntawm kev tawm ntawm cov lus txib / lus siv . Nws muaj txiaj ntsig zoo hauv kev sau ntawv thiab debugging cov lis dej num.

Qhov thib ob, qhov kev sib tham REPL yog dab tsi? Nyeem-Eval-Print Loop ( REPL ) yog ib qho yooj yim, sib tham sib computer programming ib puag ncig. Lub sij hawm ' REPL ' feem ntau yog siv los xa mus rau LISP kev sib tham ib puag ncig tab sis tuaj yeem siv rau cov kab hais kom ua kab thiab cov chaw zoo sib xws rau cov lus programming xws li Python, Ruby thiab lwm yam.

Kuj Paub, REPL sawv cev rau dab tsi?

nyeem-eval-print voj

NPM yog dab tsi hauv node JS?

npm , luv rau Node Tus Thawj Tswj Pob, yog ob yam: ua ntej thiab qhov tseem ceeb, nws yog qhov chaw khaws cia hauv online rau kev tshaj tawm ntawm qhov chaw qhib Node . js tej yaam num; Thib ob, nws yog ib qho kev hais kom ua-kab hluav taws xob rau kev cuam tshuam nrog cov chaw cia khoom hais tias pab hauv pob teeb tsa, kev tswj hwm version, thiab kev tswj hwm kev vam khom.

Pom zoo: