diff --git a/README.md b/README.md index 2b4daa24..ff3ba7bd 100644 --- a/README.md +++ b/README.md @@ -594,7 +594,7 @@ There is a single toplevel function, `minify(files, options)`, which will performs all the steps in a configurable manner. Example: ```javascript -var result = UglifyJS.minify("var b = function() {};", { fromString: true }); +var result = UglifyJS.minify("var b = function() {};"); console.log(result.code); // minified output ```