Typo in README.md

This commit is contained in:
anseki 2014-07-01 02:22:29 +09:00
parent 0c8f49c535
commit dbb2b48c9a

View file

@ -46,7 +46,7 @@ Displays the `query` to the user, and then returns the user's response after it
### setEncoding
```js
readlineSync.setPrompt(encoding)
readlineSync.setEncoding(encoding)
```
Set the encoding method of input (user's response) and output (`prompt`). Defaults to 'utf8'.