– It is unintentional for DuckDuckGo. The code for DuckDuckGo works correctly but no one who wrote that code thought about whether a reversal would happen.
– It is intentional for the browser. The code for the browser works correctly and someone who wrote that code actively thought about how to make a reversal happen.
I don’t think ‘accidental’ is the right word to use in either case because the outcome is what you would want.
So I think it's fair to say that it's not intentional in the sense of being a deliberately added easter egg. Of course, they might be aware of the behavior and decided to leave it that way.
document.querySelector(".zci__body").textContent.charCodeAt(0)
document.querySelector(".zci__body").textContent.substring(1)What? After opening the source, ctrl-f "representation" selects the reversed word. The source view just happens to interpret the RTL override.
None of these will be shown, but ddg will recognise them as control characters though. https://www.compart.com/en/unicode/category/Cc