Javascript reserved keywords || Javascriptdagi ta’qiqlangan kalit so’zlar

Javascriptda foydalanish mumkin bo’lmagan ba’zi kalit so’zlar mavjud. Quyida siz barcha ta’qiqlangan kalit so’zlarni ko’rishingiz mumkin.

O’zgaruvchilar nomlari va identifikatorlar uchun foydalanish mumkin bo’lmagan Javascriptdagi kalit so’zlar:

await, break, case, catch, class, const, proceed, debugger, default, delete, do, else, enum, export, extends, false, lastly, for, operate, if, implements, import, in, instanceof, interface, new, null, package deal, non-public, protected, public, return, tremendous, change, this, throw, true, attempt, typeof, var, void, whereas, with, yield.

*Hech qachon o’zgaruvchilarni yuqoridagi nomlar bilan nomlamang.

Bundan tashqari ushbu HTML occasion‘lardan identifikator sifatida foydalanmasligingiz kerak:

onblur, onclick, onerror, onfocus, onkeydown, onkeypress, onkeyup, onmouseover, onload, onmouseup, onmousedown, onsubmit.

Add a Comment

Your email address will not be published. Required fields are marked *