console.log(String.fromCodePoint(9731, 9733, 9842, 0x2f804)); // Очікуваний вивід: "☃★♲你"
Демо JavaScript: String.fromCodePoint()
Run ›
Reset