diff --git a/README.md b/README.md index 69e03b4770ea..b90b714a23ff 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Allows you to get a number from the user. const label = 'Age'; const defaultValue = 78; -const value = boolean(label, defaultValue); +const value = number(label, defaultValue); ``` ### object