A developer is working with the following HTL expression in a component rendering script:
What is the expected output of this expression?
A developer is working with the following HTL expression in a component rendering script:
What is the expected output of this expression?
The HTL expression removes the 'foo' selector, leaving the 'bar' selector. The '@extension' is set to 'html', so the expression part '/infinity.json' is replaced by '.html'. It also prepends the suffix 'hello' and appends 'world'. So the expected output is 'path/page.bar.html/hello/world'.
sorry my bad. B is correct.
Answer: B
C is the correct answer.