Skip to content
Related Articles

Related Articles

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

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

Which below method is used to get and set the fragment portion of the URL in Node.js ?
(A) url.encode
(B) url.decrypt
(C) url.encrypt
(D) url.hash


Answer: (D)

Explanation: The url.hash is a module is used to get and set the fragment portion of the URL. It is getting and setting the fragment value. It also gets and sets the fragment portion of the URL in Node.js.

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!