Internet Explorer ? Microsoft Edge?? forEach ??? ???? ?? ??? ??????
Oct 20, 2024 am 06:47 AM?? Microsoft ?????? ? ??? ???? ??
? ???????? ?? ??? ?? ????? ????? ???? Internet Explorer 11 ? Microsoft Edge?? ??? ??????. IE9 ? ?? ???? ?? ??? ??? ? ??? ?????? ???? forEach ??? ???? ???? ?? ???? ???????.
?? ??
forEach ???? ????? ?? ??? ???? ? ??? ??? ???? ? ?????. ? ?? ???? ?? ???? ?? ??? ???? ??? ??????. ??? ?? ?? ?? ?? ??? ???????.
var color_btns = document.querySelectorAll('#color > p'); color_btns.forEach(function(color) { color.onclick = function () { color_btns.forEach(function(element) { if (element.classList.contains('selected')) { element.classList.remove('selected'); } }); color.classList.add('selected'); document.querySelector('#f_color').value = color.dataset.id; }; });
Internet Explorer ? Microsoft Edge?? ???? ???? ?? forEach ??? NodeList? ??? ???? ??? ??????. querySelectorAll?? ???????.
?? ??
?? ?? ?? querySelectorAll ? ??? ????? ???? ?? ??? NodeList ? HTMLCollection? ??? ?? ??? ???????. ?? ??? ??? ?? ?????. JavaScript?? ?? ?? ??? for-of ??, ?? ??? ?? ?? ?? ??? ???? ??? ? ?? ?????.
NodeList ??? ?? forEach ???? ?? ??? ???? HTMLCollection ??? ???? ??? ???? ?? ??? ???? ????. ??? ???? ??. ?? HTMLCollection? forEach ???? ???? ????? ?? ??? ??? ? ?? ??? ?? ???? ??? ?? ?????.
Polyfilling forEach
? ??? ????? ??? ???? ?? ????. NodeList ??? ?? forEach ???? ??????. ????? ????? ???? ?? ??? ???? ???? ??? ?????. ?? ?? ??? NodeList? ?? forEach? ???? ? ????.
if (typeof NodeList !== "undefined" && NodeList.prototype && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; }
? ??? ??? ?? ?? ??? ?? ??, ?? ?? ? ?? ??? ?? true?? ?? ? ???? ??? ?????.
??? ???
?? NodeList ??? ?? ???? ??? for-of ?? ? ???? ???? ???? ??? ??? ?? ????. ?? ?? ???? ???? ??? ? ????.
if (typeof Symbol !== "undefined" && Symbol.iterator && typeof NodeList !== "undefined" && NodeList.prototype && !NodeList.prototype[Symbol.iterator]) { Object.defineProperty(NodeList.prototype, Symbol.iterator, { value: Array.prototype[Symbol.iterator], writable: true, configurable: true }); }
??? ?? ?
??? ???? ???? ?? ??? ???? ???? ?? ???? ???? ??? ? ????. ????:
// Polyfilling forEach for NodeList if (typeof NodeList !== "undefined" && NodeList.prototype && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Polyfilling iterability for NodeList if (typeof Symbol !== "undefined" && Symbol.iterator && typeof NodeList !== "undefined" && NodeList.prototype && !NodeList.prototype[Symbol.iterator]) { Object.defineProperty(NodeList.prototype, Symbol.iterator, { value: Array.prototype[Symbol.iterator], writable: true, configurable: true }); } var color_btns = document.querySelectorAll('#color > p'); color_btns.forEach(function(color) { color.onclick = function () { color_btns.forEach(function(element) { if (element.classList.contains('selected')) { element.classList.remove('selected'); } }); color.classList.add('selected'); document.querySelector('#f_color').value = color.dataset.id; }; });
? ????? ?? ??? Internet Explorer ? Microsoft Edge? ??? ?? ?????? ??? ?? ???? ???.
? ??? Internet Explorer ? Microsoft Edge?? forEach ??? ???? ?? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











Java ? JavaScript? ?? ?? ????? ??? ?? ?? ?? ???? ????? ?????. Java? ??? ? ??? ?????? ??? ???? JavaScript? ?? ? ??? ??? ?????.

JavaScriptCommentsareEnsentialformaining, ?? ? ???? 1) Single-LinecommentsERUSEDFORQUICKEXPLANATIONS.2) Multi-linecommentSexplaincleClexLogicOrprovidedEdeDDocumentation.3) inlineecommentsClarifySpecificPartSofcode.bestPractic

JavaScript?? ??? ??? ?? ? ? ?? ??? ???????. 1. ?? ??? ??? ???? ?? ??? ????. ISO ?? ???? ???? ???? ???? ?? ????. 2. ?? ??? ?? ???? ??? ?? ???? ??? ? ??? ? ?? 0?? ????? ?? ??????. 3. ?? ?? ???? ???? ???? ?? ?????? ??? ? ????. 4. Luxon? ?? ???? ???? ?????? ???? ?? ????. ??? ?? ???? ????? ???? ??? ????? ?? ? ????.

TAGGSATTHEBOTTOMOFABLOGPOSTORWEBPAGESERVESPRACTICALPURSEO, USEREXPERIENCE, andDESIGN.1.ITHELPSWITHEOBYOWNSESPORENGENSTOESTOCESKESKERKESKERKERKERDER-RELEVANTTAGSWITHOUTHINGTEMAINCONTENT.2.ITIMPROVESEREXPERKEEPINGTOPONTEFOCUSOFOFOFOCUSOFOFOFOCUCUSONTHEATECLL

JavaScriptIspreferredforwebDevelopment, whithjavaisbetterforlarge-scalebackendsystemsandandandoidapps.1) javascriptexcelsincreatinginteractivewebexperiences withitsdynatureanddommanipulation.2) javaoffersstrongtypingandobject-Orientededededededededededededededededdec

??? ?? ? ??? DOM?? ??? ??? ? ?????. ??? ?? ????? ?? ??????, ??? ?? ???? ?? ????????. 1. ??? ??? addeventListener? usecapture ?? ??? true? ???? ?????. 2. ??? ??? ?? ???? usecapture? ???? ????? ?????. 3. ??? ??? ??? ??? ???? ? ??? ? ????. 4. ??? ?? ?? ?? ??? ?? ??? ??????? ??? ???? ?????. 5. ??? ?? ?? ?? ??? ?? ???? ?? ???? ? ??? ? ????. ? ? ??? ???? ???? JavaScript? ??? ??? ??? ????? ???? ???? ??? ??????.

javascriptassevenfundamentalDatatatypes : ??, ???, ??, unull, ??, ? symbol.1) ?? seAdouble-precisionformat, ??? forwidevaluerangesbutbecautiouswithfatingfointarithmetic.2) stringsareimmutable, useefficientconcatenationmethendsf

Java? JavaScript? ?? ????? ?????. 1. Java? ???? ???? ??? ? ??? ?????? ?????? ? ?? ???? ?????. 2. JavaScript? ?? ? ?? ?? ? ??? ?? ??? ???? ??? ? ?? ? ?? ?????.
