قيمة حرف ASCII باستخدام charCodeAt ()
JavaScript
xxxxxxxxxx
const string = prompt('Enter a character: ');
const result = string.charCodeAt(0);
console.log(`The ASCII value is: ${result}`);
Enter a character: a The ASCII value is: 97
قيمة حرف ASCII باستخدام codePointAt ()
JavaScript
xxxxxxxxxx
const string = prompt('Enter a character: ');
const result = string.codePointAt(0);
console.log(`The ASCII value is: ${result}`);
Enter a character: abc The ASCII value is: 97
Linux - كيفية تثبيت anc-api-tools
Linux - كيفية تثبيت curvedns
Linux - كيفية تثبيت zenmap
Python - تحقق مما إذا كان الرقم موجبًا أم سالبًا أم 0
C - عد عدد الأرقام في عدد صحيح
C++ - تحقق مما إذا كان الرقم أوليًا أم لا
C - ابحث عن أكبر رقم باستخدام تخصيص الذاكرة الديناميكي
C++ - تحقق من السنة الكبيسة
Kotlin - عكس رقم
JavaScript - تحقق مما إذا كانت السلسلة تبدأ وتنتهي بأحرف معينة
Linux - كيفية تثبيت zstd
C++ - البحث عن الحاصل والباقي
Linux - كيفية تثبيت xbitmaps
Kotlin - تقريب رقم إلى n منازل عشرية
Java - عكس رقم
Kotlin - أوجد عاملي العدد
Python - كتابة ملفات إكسل (XLSX)
Java - إنشاء الهرم والنمط
We have been online since 2021 and 1 millions of people around the globe have visited our website since then
More visitors every month