Skip to content

Commit 2218189

Browse files
committed
Update description for encodeURIComponent
1 parent 557dec6 commit 2218189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/JavaScript/global.jsdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3.3
187187
encodeURIComponent(component : String) : String
188188

189189
Returns an encoded version of **component** that is suitable as a uri
190-
parameter.
190+
parameter, such as a query string.
191191

192192
<example>
193193
console.log(encodeURIComponent('http://foo/bar baz'));

0 commit comments

Comments
 (0)