Sha256: 186924e5922477f15201251b8aeb44c15c1dfe0bccd696db75c85b2c85c97e9b

Contents?: true

Size: 839 Bytes

Versions: 67

Compression:

Stored size: 839 Bytes

Contents

concatenate_rhs_strings: {
    options = {
        evaluate: true,
        unsafe: true,
    }
    input: {
        foo(bar() + 123 + "Hello" + "World");
        foo(bar() + (123 + "Hello") + "World");
        foo((bar() + 123) + "Hello" + "World");
        foo(bar() + 123 + "Hello" + "World" + ("Foo" + "Bar"));
        foo("Foo" + "Bar" + bar() + 123 + "Hello" + "World" + ("Foo" + "Bar"));
        foo("Hello" + bar() + 123 + "World");
        foo(bar() + 'Foo' + (10 + parseInt('10')));
    }
    expect: {
        foo(bar() + 123 + "HelloWorld");
        foo(bar() + "123HelloWorld");
        foo((bar() + 123) + "HelloWorld");
        foo(bar() + 123 + "HelloWorldFooBar");
        foo("FooBar" + bar() + "123HelloWorldFooBar");
        foo("Hello" + bar() + "123World");
        foo(bar() + 'Foo' + (10 + parseInt('10')));
    }
}

Version data entries

67 entries across 65 versions & 3 rubygems

Version Path
smock-0.1.209 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.208 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
trans-0.5.10 template/node_modules/gulp-uglify/node_modules/uglify-js/test/compress/issue-126.js
trans-0.5.10 template/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-126.js
trans-0.5.9 template/node_modules/grunt-contrib-uglify/node_modules/uglify-js/test/compress/issue-126.js
trans-0.5.9 template/node_modules/gulp-uglify/node_modules/uglify-js/test/compress/issue-126.js
sprockets-browserify-0.3.0 node_modules/browserify/node_modules/umd/node_modules/uglify-js/test/compress/issue-126.js