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.268 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.267 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.266 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.265 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.264 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.263 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.262 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.261 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.260 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.259 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.258 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.256 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.255 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.254 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.253 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.252 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.251 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.250 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.249 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.247 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js