<div id="result1"></div>
<div id="result2"></div>
div {
  font-family: 'Fira Code', 'Courier New'
}
// https://unicode-table.com/en/FFE5/
const result1 = document.getElementById("result1")
result1.innerHTML = `"¥".length = ${"¥".length}`

// https://unicode-table.com/en/10000/
const result1 = document.getElementById("result2")
result1.innerHTML = `"𐀀".length = ${"𐀀".length}`
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.