JSFiddle - React, Tailwind, and code Playground

HTML

<pre id="output"></pre>

JavaScript

function out()
{
    var args = Array.prototype.slice.call(arguments, 0);
    document.getElementById('output').innerHTML += args.join(" ") + "\n";
}

function f(s){return "\u202E"+s.split("").reverse().join("")+"\u202C";}

out("This word is messed up: " + f("confusing") + ". Try pasting this line into Word!");