aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-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