Skip to content
Related Articles

Related Articles

Web technologies Questions | Node.js Quiz | Set-3 | Question 4

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 30 Sep, 2021

Which below in Node.js are used to join a number of path segments ?
(A) path.argv()
(B) path.join()
(C) path.chdir()
(D) path.argv()

Answer: (B)

Explanation: The path.join() is used to join a number of path segments using the platform-specific delimiter to form a single path. The final path joining takes place. It takes comma-separated values.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!