Skip to content

Commit

Permalink
mention minify().error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl authored and alexlamsl committed May 9, 2017
1 parent 8c7c107 commit bc3fa78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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:
Expand Down

0 comments on commit bc3fa78

Please sign in to comment.