diff --git a/content/v2.0/reference/flux/functions/strings/compare.md b/content/v2.0/reference/flux/functions/strings/compare.md index 4f976323e..c1496f2eb 100644 --- a/content/v2.0/reference/flux/functions/strings/compare.md +++ b/content/v2.0/reference/flux/functions/strings/compare.md @@ -15,9 +15,9 @@ _**Output data type:** Integer_ ```js import "strings" -compare(v: "a", t: "a") +strings.compare(v: "a", t: "b") -// returns 0 +// returns -1 ``` #### Return values