marko/test/test-project/rxml-templates/string-concat-with-ternary-operator.rxml.expected.js

10 lines
260 B
JavaScript

module.exports = function create(__helpers) {
var empty = __helpers.e,
notEmpty = __helpers.ne;
return function render(data, context) {
context.w(('\nA: ') +
(true ? 'ABC' : '') +
('\nB: This should be outputted as well.\n'));
};
}