我試圖用後衛醜化JavaScript,但我得到以下錯誤: ERROR - Guard::Uglify failed to achieve its , exception was: [#] JSON::GeneratorError: only generation of JSON objects or arrays allowed [#] C:/Ruby193/lib/ruby/1.9.1/json
我想第一次使用UglifyJS。再去讀喜歡用UglifyJS function someFn(){
var someVar="test";
if(browser=="IE7"){
....
console.log("something");
console.log("somethingelse");
.....