aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index a0fbc0d7..2077c5a1 100644
--- a/Readme.md
+++ b/Readme.md
@@ -241,6 +241,8 @@ Setting a new locale is simple:
```js
// sets locale to de
+faker.setLocale("de");
+// or
faker.locale = "de";
```