From aa478bd7cd9e063c3fe339d2a8bdcb3846dddd5d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 4 Apr 2020 23:38:25 +1100 Subject: [PATCH] docs: Fix simple typo, occurences -> occurrences There is a small typo in README.md. Should read `occurrences` rather than `occurences`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2bd41b8..f8a897e 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Both `pattern` and `replacement` must be valid JavaScript. In `pattern`, single- ### Example -Rewrite occurences of `_.reduce` to use native reduce: +Rewrite occurrences of `_.reduce` to use native reduce: jsfmt --rewrite "_.reduce(a, b, c) -> a.reduce(b, c)" reduce.js @@ -86,7 +86,7 @@ The `--search` flag allows searching through a JavaScript's AST. The search rule ### Example -Find occurences of `_.reduce`: +Find occurrences of `_.reduce`: jsfmt --search "_.reduce(a, b, c)" reduce.js