Merge branch 'master' into harmony-v3.0.2

This commit is contained in:
alexlamsl
2017-05-10 01:57:32 +08:00
5 changed files with 36 additions and 38 deletions

View File

@@ -599,7 +599,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: