Update README.md
This commit is contained in:
parent
4ba9aff78b
commit
939999021e
|
|
@ -355,7 +355,9 @@ var options = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var result = UglifyJS.minify(code, options);
|
var result = UglifyJS.minify(code, options);
|
||||||
console.log(JSON.stringify(result.code)); // "/* uglified */\nalert(10);"
|
console.log(result.code);
|
||||||
|
// /* uglified */
|
||||||
|
// alert(10);"
|
||||||
```
|
```
|
||||||
|
|
||||||
To produce warnings:
|
To produce warnings:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user