Skip to content

Commit

Permalink
Adding aquestion to node.js, need answer (Ebazhanov#1322)
Browse files Browse the repository at this point in the history
  • Loading branch information
swordwielder authored Mar 24, 2021
1 parent 74d9d4b commit 2466975
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions node.js/node.js-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,3 +298,11 @@ fs.appendFile('hello.txt', `Hello ${user} on ${system}`, (err) => { if (err) thr
- [x] read, eval, print, loop
- [ ] run, edit, print, loop
- [ ] read, extend, print, loop

### Q45. Which statement is true when you run this code?
`require('child_process').fork("script.js")`
- [ ] The forked process shares the same VM thread with the parent process.
- [ ] The forked process will have its own VM instance.
- [ ] The forked process shares the event loop with the parent process.
- [ ] A new VM instance is created, and the two VM instances will be shared between the forked process and the parent process.

0 comments on commit 2466975

Please sign in to comment.