Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando G. Vilar committed Apr 28, 2020
2 parents fc00b13 + 2cfce0f commit 68507f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const querystring = "?string=question&boolean&string=&string=42"

const query = decode(querystring);

console.log(JSON.stringify(query, "", " "))
console.log(JSON.stringify(query))
//=> '{ boolean: true, string: [ "question", "", "42" ]}'

console.log(encode(query))
Expand All @@ -36,7 +36,7 @@ const querystringZH = "?聪明&名字=Fernando&名字=&名字=王"

const queryZH = decode(querystring);

console.log(JSON.stringify(query, "", " "))
console.log(JSON.stringify(query))
//=> '{ 名字: [ "Fernando", "", "王" ], 聪明: true }'

console.log(encode(query))
Expand Down

0 comments on commit 68507f3

Please sign in to comment.