aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index a665c06d..52c44ccd 100644
--- a/README.md
+++ b/README.md
@@ -596,7 +596,8 @@ performs all the steps in a configurable manner.
Example:
```javascript
var result = UglifyJS.minify("var b = function() {};");
-console.log(result.code); // minified output
+console.log(result.code); // minified output
+console.log(result.error); // runtime error
```
You can also compress multiple files: