pug-php/js-phpize

View on GitHub
examples/ternary.js

Summary

Maintainability
A
0 mins
Test Coverage
a = {
    b: function () {
        return 42;
    }
};
foo = 5 + 2 * (true ? 2 : 0);
bar = "9";
result = foo == bar ? a.b() : null;

return result