+ 3
What's the duty of the escape in the JavaScript code??
2 odpowiedzi
+ 3
Joseph,
Direct from W3Schools
"The escape() function was deprecated in JavaScript version 1.5. Use encodeURI() or encodeURIComponent() instead."
"The escape() function encodes a string."
"This function makes a string portable, so it can be transmitted across any network to any computer that supports ASCII characters."
https://www.w3schools.com/jsref/jsref_escape.asp
- 1
Do you mean escape method or escape character "\" ?