From: olsonpm Date: Sat, 13 May 2017 04:54:01 +0000 (-0500) Subject: clarify wording (#1931) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9e29b6dad21ab796dbf67d6886c198f3be7a29a0;p=UglifyJS.git clarify wording (#1931) --- 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