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.246 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.245 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.244 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.243 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.242 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.241 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.240 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.239 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.2 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.1 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.238 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.237 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.236 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.235 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.234 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.233 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.232 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.231 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.230 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js
smock-0.1.229 node_modules/webpack/node_modules/uglify-js/test/compress/issue-126.js