Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

412
Vistas
Concatenate unicode character (warning sign) with string in javascript

I have a unicode character for warning sign- Unicode Character “⚠” (U+26A0) https://www.compart.com/en/unicode/U+26A0

I am trying to append this to a string variable but i am not successful in appending the image Can anyone let me know how to append it here, Also i am trying to make the warning sign yellow in color.

for e.g. I want the result as -> ⚠ Warning Sign

I tried the following but didnt succeed

let result = `U+26A0` + 'Warning Sign'
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

You can use the String.fromCharCode(num1) method.

Edit:

That is, String.fromCharCode(0x26A0) + " Warning Sign"

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda