File "LogicalOperatorSpacingUnitTest.js"

Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.js
File size: 237 bytes
MIME-type: text/plain
Charset: utf-8



if (foo || bar) {}
if (foo||bar && baz) {}
if (foo|| bar&&baz) {}
if (foo  ||   bar   && baz) {}

// Spacing after || below is ignored as it is EOL whitespace.
if (foo ||    
    bar
    && baz
) {
}

if (foo||
    bar
    &&baz
) {
}