Difference of encodeURI() and encodeURIComponent()

Q

What is the difference between the encodeURI() function and the encodeURIComponent() function in JavaScript?

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2015-07-03, 1459🔥, 0💬