console.log(String.fromCodePoint(9731, 9733, 9842, 0x2F804)); // expected output: "☃★♲你"
JavaScript Demo: String.fromCodePoint()
Run ›
Reset