'In js, how to set button caption with css characters

I want to create dynamically a button with css symbol as caption.
I want to put a small arrow.
I try this, without success:

let btnDel = document.createElement("input");
btnDel.type = "button";
btnDel.value = "⇧";

A nudge ?

Best regards



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source