aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorolsonpm <olsonpm@users.noreply.github.com>2017-05-12 23:54:01 -0500
committerAlex Lam S.L <alexlamsl@gmail.com>2017-05-13 12:54:01 +0800
commit9e29b6dad21ab796dbf67d6886c198f3be7a29a0 (patch)
treec5093dc8d5634ee76549220e7d36d29c111c43d9
parentc391576d52852322a7fcfbaeabc9d5626e628c8b (diff)
downloadtracifyjs-9e29b6dad21ab796dbf67d6886c198f3be7a29a0.tar.gz
tracifyjs-9e29b6dad21ab796dbf67d6886c198f3be7a29a0.zip
clarify wording (#1931)
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 205395f0..33a9c716 100644
--- a/README.md
+++ b/README.md
@@ -410,8 +410,9 @@ to set `true`; it's effectively a shortcut for `foo=true`).
being compressed into `1/0`, which may cause performance issues on Chrome.
- `side_effects` -- default `false`. Pass `true` to potentially drop functions
-marked as "pure". (A function is marked as "pure" via the comment annotation
-`/* @__PURE__ */` or `/* #__PURE__ */`)
+marked as "pure". A function call is marked as "pure" if a comment annotation
+`/*@__PURE__*/` or `/*#__PURE__*/` immediately precedes the call. For example:
+`/*@__PURE__*/foo()`;
### The `unsafe` option