diff options
author | olsonpm <olsonpm@users.noreply.github.com> | 2017-05-12 23:54:01 -0500 |
---|---|---|
committer | Alex Lam S.L <alexlamsl@gmail.com> | 2017-05-13 12:54:01 +0800 |
commit | 9e29b6dad21ab796dbf67d6886c198f3be7a29a0 (patch) | |
tree | c5093dc8d5634ee76549220e7d36d29c111c43d9 | |
parent | c391576d52852322a7fcfbaeabc9d5626e628c8b (diff) | |
download | tracifyjs-9e29b6dad21ab796dbf67d6886c198f3be7a29a0.tar.gz tracifyjs-9e29b6dad21ab796dbf67d6886c198f3be7a29a0.zip |
clarify wording (#1931)
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |