diff options
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r-- | doc/api/repl.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md index 99bd638e52..0e456b71ea 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -172,7 +172,7 @@ translation of text from one language to another: ```js const repl = require('repl'); -const Translator = require('translator').Translator; +const { Translator } = require('translator'); const myTranslator = new Translator('en', 'fr'); |