> Funkcje
Zwraca jednoznakowy łańcuch, którego punkt kodowy Unicode to codePoint: fromCodePoint(65) zwraca "A". Jest to odwrotność codePointAt.
Punkty kodowe powyżej 65535 dają znaki takie jak emoji: fromCodePoint(128040) zwraca "🐨".
fromCodePoint(65) // "A"
fromCodePoint(233) // "é"
fromCodePoint(9835) // "♫"
fromCodePoint(128040) // "🐨"
fromCodePoint(codePointAt("é")) // "é"
fromCodePoint(-1) // null
fromCodePoint(0x110000) // null
String.fromCodePoint(65) // "A"
String.fromCodePoint(128040) // "🐨"
chr(65) # 'A'
chr(128040) # '🐨'
null, jeśli codePoint nie jest poprawnym punktem kodowym.null.String.fromCodePoint zgłasza RangeError poza zakresem 0–1114111, a chr w Pythonie zgłasza ValueError.Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.