How to understand escape,encodeURI and encodeURIComponent in javascript

You should know all of them can encode a string or url.

escape can encode string, except for ascall, number,@*/+
encodeURI can encode string, except for ascall, number,~!@#$&*()=:/,;?+’
encodeURIComponent can encode string, except for ascall, number,~!*()’

, , ,