| W3docs | https://it.w3docs.com/ |
| Imparare HTML | https://it.w3docs.com/learn-html |
| Impara CSS | https://it.w3docs.com/learn-css |
| Imparare JavaScript | https://it.w3docs.com/learn-javascript |
| Imparare Git | https://it.w3docs.com/learn-git |
| Imparare Java | https://it.w3docs.com/learn-java |
| Imparare PHP | https://it.w3docs.com/learn-php |
| Imparare Python | https://it.w3docs.com/learn-python |
| Corsi | https://it.w3docs.com/course |
| Quiz | https://it.w3docs.com/quiz |
| Esercizi | https://it.w3docs.com/exercise |
| HTML Editor | https://it.w3docs.com/tools/editor |
| Password Generator | https://it.w3docs.com/tools/password-generator |
| HTML Encoder | https://it.w3docs.com/tools/html-encoder |
| Code Diff | https://it.w3docs.com/tools/code-diff |
| JSON Beautifier | https://it.w3docs.com/tools/json-beautify |
| Tutti i 13 → | https://it.w3docs.com/tool |
| Color Picker | https://it.w3docs.com/color/color-picker |
| Color Converter | https://it.w3docs.com/color/color-converter |
| Color mixer | https://it.w3docs.com/color/color-mixer |
| Color Hex | https://it.w3docs.com/color/color-hex |
| Colors HSL | https://it.w3docs.com/color/color-hsl |
| Tutti i 10 → | https://it.w3docs.com/tool |
| String Length Calculator | https://it.w3docs.com/tools/string-length-calculator |
| MD5 Hash Generator | https://it.w3docs.com/tools/string-md5-generator |
| Sha256 Hash Generator | https://it.w3docs.com/tools/string-sha256-generator |
| String Reverse | https://it.w3docs.com/tools/string-revers |
| URL Encoder | https://it.w3docs.com/tools/string-url-encoder |
| Tutti i 19 → | https://it.w3docs.com/tool |
| Javascript Formatter | https://it.w3docs.com/tools/formatter/javascript |
| CSS Formatter | https://it.w3docs.com/tools/formatter/css |
| HTML Formatter | https://it.w3docs.com/tools/formatter/html |
| Json Formatter | https://it.w3docs.com/tools/formatter/json |
| PHP Formatter | https://it.w3docs.com/tools/formatter/php |
| Englishen | https://www.w3docs.com/learn-javascript/eval-run-a-code-string |
| Deutschde | https://de.w3docs.com/learn-javascript/eval-run-a-code-string |
| Русскийru | https://ru.w3docs.com/learn-javascript/eval-run-a-code-string |
| Françaisfr | https://fr.w3docs.com/learn-javascript/eval-run-a-code-string |
| Españoles | https://es.w3docs.com/learn-javascript/eval-run-a-code-string |
| Portuguêspt | https://pt.w3docs.com/learn-javascript/eval-run-a-code-string |
| Italianoit | https://it.w3docs.com/learn-javascript/eval-run-a-code-string |
| Accedi | https://it.w3docs.com/api/auth/login |
| Imparare JavaScript | https://it.w3docs.com/learn-javascript |
| Introduzione | https://it.w3docs.com/learn-javascript/javascript-intro |
| Iniziare a usare Javascript | https://it.w3docs.com/learn-javascript/start-using-javascript |
| Commenti JS | https://it.w3docs.com/learn-javascript/javascript-comments |
| JS con DOM | https://it.w3docs.com/learn-javascript/javascript-with-dom |
| JS Use Strict | https://it.w3docs.com/learn-javascript/javascript-use-strict |
| Variabili JS | https://it.w3docs.com/learn-javascript/javascript-variables |
| Tipi di Dati JS | https://it.w3docs.com/learn-javascript/javascript-data-types |
| Conversioni di tipo JS | https://it.w3docs.com/learn-javascript/type-conversions |
| Funzioni Interattive JS | https://it.w3docs.com/learn-javascript/interactive-functions |
| Operatori JS | https://it.w3docs.com/learn-javascript/operators |
| Operatori di confronto JS | https://it.w3docs.com/learn-javascript/comparison-operators |
| Operatori logici JS | https://it.w3docs.com/learn-javascript/logical-operators |
| JS Coalescenza Nullish (??) | https://it.w3docs.com/learn-javascript/nullish-coalescing-operator |
| Operatori condizionali JS | https://it.w3docs.com/learn-javascript/conditional-operators |
| JS Switch | https://it.w3docs.com/learn-javascript/javascript-switch |
| Loop JS | https://it.w3docs.com/learn-javascript/javascript-loops |
| Funzioni JS | https://it.w3docs.com/learn-javascript/javascript-functions |
| Espressioni di Funzione JS | https://it.w3docs.com/learn-javascript/function-expressions |
| Arrow Function in JS | https://it.w3docs.com/learn-javascript/arrow-functions-the-basics |
| JS ES6 | https://it.w3docs.com/learn-javascript/javascript-es6 |
| Oggetti JS | https://it.w3docs.com/learn-javascript/javascript-objects |
| Copia di object in JS | https://it.w3docs.com/learn-javascript/object-references-and-copying |
| Metodi degli object JS, "this" | https://it.w3docs.com/learn-javascript/object-methods-this |
| Garbage collection in JS | https://it.w3docs.com/learn-javascript/garbage-collection |
| Symbol in JS | https://it.w3docs.com/learn-javascript/symbol-types |
| Conversione da Object a Primitivo in JS | https://it.w3docs.com/learn-javascript/object-to-primitive-conversion |
| Constructor JS, operatore "new" | https://it.w3docs.com/learn-javascript/constructor-operator-new |
| JS Optional Chaining (?.) | https://it.w3docs.com/learn-javascript/optional-chaining |
| Metodi dei primitivi JS | https://it.w3docs.com/learn-javascript/methods-of-primitives |
| Numeri JS | https://it.w3docs.com/learn-javascript/numbers |
| JS Math | https://it.w3docs.com/learn-javascript/javascript-math |
| Stringhe JS | https://it.w3docs.com/learn-javascript/strings |
| Array JS | https://it.w3docs.com/learn-javascript/javascript-array |
| Metodi degli array JS | https://it.w3docs.com/learn-javascript/array-methods |
| Iterabili JS | https://it.w3docs.com/learn-javascript/iterables |
| JS Map e Set | https://it.w3docs.com/learn-javascript/map-and-set |
| JS WeakMap e WeakSet | https://it.w3docs.com/learn-javascript/weakmap-and-weakset |
| JS Object.keys, Values, Entries | https://it.w3docs.com/learn-javascript/object-keys-values-entries |
| Destrutturazione in JS | https://it.w3docs.com/learn-javascript/destructuring-assignment |
| JS Date e orario | https://it.w3docs.com/learn-javascript/javascript-date |
| Metodi JS JSON, toJSON | https://it.w3docs.com/learn-javascript/working-with-json |
| Ricorsione e Stack in JS | https://it.w3docs.com/learn-javascript/recursion-and-stack |
| Parametri Rest e Sintassi Spread in JS | https://it.w3docs.com/learn-javascript/rest-parameters-and-spread-syntax |
| Scope variabili JS | https://it.w3docs.com/learn-javascript/variable-scope |
| Il vecchio "var" in JS | https://it.w3docs.com/learn-javascript/the-old-var |
| Oggetto globale JS | https://it.w3docs.com/learn-javascript/global-object |
| Oggetto Function JS, NFE | https://it.w3docs.com/learn-javascript/function-object-nfe |
| La sintassi "new function" in JS | https://it.w3docs.com/learn-javascript/the-new-function-syntax |
| JS setTimeout e setInterval | https://it.w3docs.com/learn-javascript/scheduling-settimeout-and-setinterval |
| Decorator e inoltro, call/apply | https://it.w3docs.com/learn-javascript/decorators-and-forwarding-call-apply |
| JS Debounce & Throttle | https://it.w3docs.com/learn-javascript/debounce-and-throttle |
| JS Function Binding | https://it.w3docs.com/learn-javascript/function-binding |
| Arrow function JS rivisitate | https://it.w3docs.com/learn-javascript/arrow-functions-revisited |
| Closure JS | https://it.w3docs.com/learn-javascript/javascript-closures |
| Flag e descrittori di proprietà JS | https://it.w3docs.com/learn-javascript/property-flags-and-descriptors |
| Getter e Setter delle Proprietà JS | https://it.w3docs.com/learn-javascript/property-getters-and-setters |
| Introduzione al DOM | https://it.w3docs.com/learn-javascript/javascript-html-dom |
| I Nodi del DOM | https://it.w3docs.com/learn-javascript/understanding-the-dom-nodes |
| Selezionare elementi del DOM | https://it.w3docs.com/learn-javascript/selecting-dom-elements |
| Manipolazione del DOM | https://it.w3docs.com/learn-javascript/dom-manipulation |
| Stili nel DOM | https://it.w3docs.com/learn-javascript/working-with-styles-in-dom |
| Gestione degli eventi nel DOM | https://it.w3docs.com/learn-javascript/event-handling-in-dom |
| Attraversamento del DOM | https://it.w3docs.com/learn-javascript/traversing-the-dom |
| Tecniche di Manipolazione del DOM | https://it.w3docs.com/learn-javascript/dom-manipulation-techniques |
| Lavorare con i Form nel DOM | https://it.w3docs.com/learn-javascript/working-with-forms-in-dom |
| Tecniche Avanzate del DOM | https://it.w3docs.com/learn-javascript/advanced-dom-techniques |
| Librerie per la Manipolazione del DOM | https://it.w3docs.com/learn-javascript/dom-manipulation-libraries |
| Compatibilità DOM tra Browser | https://it.w3docs.com/learn-javascript/dom-browser-compatibility |
| Accessibilità nel DOM | https://it.w3docs.com/learn-javascript/dom-accessibility-considerations |
| Debug e Strumenti | https://it.w3docs.com/learn-javascript/dom-debugging-and-tools |
| Ottimizzazione delle prestazioni | https://it.w3docs.com/learn-javascript/dom-performance-optimization |
| Elementi Interattivi e Widget | https://it.w3docs.com/learn-javascript/dom-nteractive-elements-and-widgets |
| Ereditarietà prototipale JS | https://it.w3docs.com/learn-javascript/prototypal-inheritance |
| Prototipi Nativi JS | https://it.w3docs.com/learn-javascript/native-prototypes |
| Metodi Prototipo JS, Object senza `__proto__` | https://it.w3docs.com/learn-javascript/prototype-methods-objects-without-proto |
| Sintassi Base delle Classi JS | https://it.w3docs.com/learn-javascript/class-basic-syntax |
| Ereditarietà delle classi JS | https://it.w3docs.com/learn-javascript/class-inheritance |
| Proprietà e metodi statici in JS | https://it.w3docs.com/learn-javascript/static-properties-and-methods |
| Proprietà Private e Protette in JS | https://it.w3docs.com/learn-javascript/private-and-protected-properties-and-methods |
| JS Estendere le Classi Built-in | https://it.w3docs.com/learn-javascript/extending-built-in-classes |
| JS Class Checking: "instanceof" | https://it.w3docs.com/learn-javascript/class-checking-instanceof |
| Mixin in JS | https://it.w3docs.com/learn-javascript/mixins |
| Gestione degli errori JS, "try..catch" | https://it.w3docs.com/learn-javascript/error-handling-try-catch |
| Errori personalizzati JS, estendere Error | https://it.w3docs.com/learn-javascript/custom-errors-extending-error |
| JS Introduzione: callback | https://it.w3docs.com/learn-javascript/introduction-callbacks |
| JS Promise | https://it.w3docs.com/learn-javascript/promise |
| Concatenazione di Promise JS | https://it.w3docs.com/learn-javascript/promises-chaining |
| Gestione degli errori con le promise | https://it.w3docs.com/learn-javascript/error-handling-with-promises |
| Promise API | https://it.w3docs.com/learn-javascript/promise-api |
| Promisification | https://it.w3docs.com/learn-javascript/promisification |
| Microtask | https://it.w3docs.com/learn-javascript/microtasks |
| async/await | https://it.w3docs.com/learn-javascript/async-await |
| Generator | https://it.w3docs.com/learn-javascript/generators |
| Iteratori e Generatori Asincroni | https://it.w3docs.com/learn-javascript/async-iterators-and-generators |
| Moduli | https://it.w3docs.com/learn-javascript/modules-introduction |
| Export e Import | https://it.w3docs.com/learn-javascript/export-and-import |
| Import Dinamici | https://it.w3docs.com/learn-javascript/dynamic-imports |
| Proxy e Reflect | https://it.w3docs.com/learn-javascript/proxy-and-reflect |
| Eval | https://it.w3docs.com/learn-javascript/eval-run-a-code-string |
| Currying | https://it.w3docs.com/learn-javascript/currying |
| BigInt | https://it.w3docs.com/learn-javascript/bigint |
| Polyfill e Transpiler JS | https://it.w3docs.com/learn-javascript/polyfills-and-transpilers |
| Popup e metodi window | https://it.w3docs.com/learn-javascript/popups-and-window-methods |
| Comunicazione tra finestre | https://it.w3docs.com/learn-javascript/cross-window-communication |
| ArrayBuffer, Array Binari | https://it.w3docs.com/learn-javascript/arraybuffer-binary-arrays |
| TextDecoder e TextEncoder | https://it.w3docs.com/learn-javascript/textdecoder-and-textencoder |
| Blob | https://it.w3docs.com/learn-javascript/javascript-blob |
| File e FileReader | https://it.w3docs.com/learn-javascript/file-and-filereader |
| JS Streams API | https://it.w3docs.com/learn-javascript/streams-api |
| Ambiente Browser e Specifiche | https://it.w3docs.com/learn-javascript/browser-environment-specs |
| Ricerca: getElement*, querySelector* | https://it.w3docs.com/learn-javascript/searching-getelement-queryselector |
| Proprietà dei nodi: tipo, tag e contenuto | https://it.w3docs.com/learn-javascript/node-properties-type-tag-and-contents |
| Attributi e Proprietà | https://it.w3docs.com/learn-javascript/attributes-and-properties |
| Modificare il documento | https://it.w3docs.com/learn-javascript/modifying-the-document |
| Stili e Classi | https://it.w3docs.com/learn-javascript/styles-and-classes |
| Dimensioni della Finestra e Scorrimento | https://it.w3docs.com/learn-javascript/javascript-window-sizes-and-scrolling |
| Coordinate | https://it.w3docs.com/learn-javascript/javascript-coordinates |
| Introduzione agli eventi del browser in JavaScript | https://it.w3docs.com/learn-javascript/introduction-to-browser-events |
| Bubbling e Capturing | https://it.w3docs.com/learn-javascript/bubbling-and-capturing |
| Delega degli eventi | https://it.w3docs.com/learn-javascript/javascript-events |
| Azioni Predefinite del Browser | https://it.w3docs.com/learn-javascript/browser-default-actions |
| Dispatching di eventi personalizzati | https://it.w3docs.com/learn-javascript/dispatching-custom-events |
| Fondamenti degli eventi del mouse | https://it.w3docs.com/learn-javascript/mouse-events-basics |
| Spostamento del mouse | https://it.w3docs.com/learn-javascript/moving-the-mouse-mouseover-out-mouseenter-leave |
| Drag and Drop | https://it.w3docs.com/learn-javascript/drag-and-drop-with-javascript |
| Tastiera: keydown e keyup | https://it.w3docs.com/learn-javascript/keyboard-keydown-and-keyup |
| Scrolling | https://it.w3docs.com/learn-javascript/javascript-scrolling |
| Proprietà e metodi dei form | https://it.w3docs.com/learn-javascript/form-properties-and-methods |
| Focusing: focus/blur | https://it.w3docs.com/learn-javascript/focusing-focus-blur |
| Eventi: change, input, cut, copy, paste | https://it.w3docs.com/learn-javascript/events-change-input-cut-copy-paste |
| JS Clipboard API | https://it.w3docs.com/learn-javascript/clipboard-api |
| Forms: evento e metodo submit | https://it.w3docs.com/learn-javascript/forms-event-and-method-submit |
| Page:DOMContentLoaded, load, beforeunload, unload | https://it.w3docs.com/learn-javascript/page-domcontentloaded-load-beforeunload-unload |
| Script: async, defer | https://it.w3docs.com/learn-javascript/scripts-async-defer |
| Resource Loading: onload e onerror | https://it.w3docs.com/learn-javascript/resource-loading-onload-and-onerror |
| Mutation Observer | https://it.w3docs.com/learn-javascript/mutation-observer |
| JS IntersectionObserver | https://it.w3docs.com/learn-javascript/intersection-observer |
| JS ResizeObserver | https://it.w3docs.com/learn-javascript/resize-observer |
| Selection e Range | https://it.w3docs.com/learn-javascript/selection-and-range |
| Event Loop: microtask e macrotask | https://it.w3docs.com/learn-javascript/event-loop-microtasks-and-macrotasks |
| Canvas | https://it.w3docs.com/learn-javascript/canvas |
| Fetch API | https://it.w3docs.com/learn-javascript/fetch-api |
| FormData | https://it.w3docs.com/learn-javascript/javascript-formdata |
| Fetch: progresso del download | https://it.w3docs.com/learn-javascript/fetch-download-progress |
| Fetch: abort | https://it.w3docs.com/learn-javascript/fetch-abort |
| Fetch: richieste cross-origin | https://it.w3docs.com/learn-javascript/javascript-fetch-cross-origin-requests |
| Oggetti URL | https://it.w3docs.com/learn-javascript/url-objects |
| XMLHttpRequest | https://it.w3docs.com/learn-javascript/xmlhttprequest |
| JS Server-Sent Events | https://it.w3docs.com/learn-javascript/server-sent-events |
| Caricamento di file ripristinabile | https://it.w3docs.com/learn-javascript/resumable-file-upload |
| Cookie: document.cookie | https://it.w3docs.com/learn-javascript/cookies-document-cookie |
| LocalStorage, SessionStorage | https://it.w3docs.com/learn-javascript/localstorage-sessionstorage |
| IndexedDB | https://it.w3docs.com/learn-javascript/javascript-indexeddb |
| Animazioni CSS | https://it.w3docs.com/learn-javascript/css-animations |
| Animazioni JavaScript | https://it.w3docs.com/learn-javascript/javascript-animations |
| Web Components | https://it.w3docs.com/learn-javascript/web-components |
| Elementi Personalizzati | https://it.w3docs.com/learn-javascript/custom-elements |
| Shadow DOM | https://it.w3docs.com/learn-javascript/javascript-shadow-dom |
| Elemento Template | https://it.w3docs.com/learn-javascript/template-element |
| Shadow DOM Slots e Composizione | https://it.w3docs.com/learn-javascript/shadow-dom-slots-composition |
| Stile dello Shadow DOM | https://it.w3docs.com/learn-javascript/shadow-dom-styling |
| Shadow DOM ed eventi | https://it.w3docs.com/learn-javascript/shadow-dom-and-events |
| Regex JS | https://it.w3docs.com/learn-javascript/regex |
| Pattern e Flag | https://it.w3docs.com/learn-javascript/patterns-and-flags |
| Classi di Caratteri | https://it.w3docs.com/learn-javascript/character-classes |
| Unicode: flag "u" e classe \p{...} | https://it.w3docs.com/learn-javascript/unicode-flag-u-and-class-p |
| Ancore: inizio ^ e fine $ della stringa | https://it.w3docs.com/learn-javascript/anchors-string-start-and-end |
| Modalità multiriga degli ancoraggi ^ $, flag "m" | https://it.w3docs.com/learn-javascript/multiline-mode-of-anchors-flag-m |
| Delimitatore di parola: \b | https://it.w3docs.com/learn-javascript/word-boundary-b |
| Escape, Caratteri Speciali | https://it.w3docs.com/learn-javascript/escaping-special-characters |
| Set e intervalli [...] | https://it.w3docs.com/learn-javascript/javascript-sets-and-ranges |
| Quantificatori +, *, ? e {n} | https://it.w3docs.com/learn-javascript/quantifiers-and-n |
| Quantificatori greedy e lazy | https://it.w3docs.com/learn-javascript/greedy-and-lazy-quantifiers |
| Gruppi di cattura | https://it.w3docs.com/learn-javascript/capturing-groups |
| Backreferenze nel pattern: \n e \k | https://it.w3docs.com/learn-javascript/backreferences-in-pattern-n-and-k-name |
| Alternazione (OR) in JavaScript | https://it.w3docs.com/learn-javascript/javascript-alternation-or |
| Lookahead e Lookbehind | https://it.w3docs.com/learn-javascript/lookahead-and-lookbehind |
| Backtracking Catastrofico | https://it.w3docs.com/learn-javascript/catastrophic-backtracking |
| Flag sticky "y", ricerca in posizione | https://it.w3docs.com/learn-javascript/sticky-flag-y-searching-at-position |
| Metodi di RegExp e String | https://it.w3docs.com/learn-javascript/javascript-regexp |
| Web Animations API | https://it.w3docs.com/learn-javascript/animations-api |
| File API | https://it.w3docs.com/learn-javascript/file-api |
| Battery API | https://it.w3docs.com/learn-javascript/battery-api |
| WebGL | https://it.w3docs.com/learn-javascript/webgl |
| Push API | https://it.w3docs.com/learn-javascript/push-api |
| Screen Orientation API | https://it.w3docs.com/learn-javascript/screen-orientation-api |
| History API | https://it.w3docs.com/learn-javascript/history-api |
| Console API | https://it.w3docs.com/learn-javascript/console-api |
| Fullscreen API | https://it.w3docs.com/learn-javascript/fullscreen-api |
| API di Validazione | https://it.w3docs.com/learn-javascript/validation-api |
| Web Storage API | https://it.w3docs.com/learn-javascript/storage-api |
| Web MIDI API | https://it.w3docs.com/learn-javascript/web-midi-api |
| JS Web Workers | https://it.w3docs.com/learn-javascript/web-workers |
| Service Workers | https://it.w3docs.com/learn-javascript/service-workers |
| WebSockets | https://it.w3docs.com/learn-javascript/websockets |
| Geolocalizzazione | https://it.w3docs.com/learn-javascript/geolocation |
| WebRTC | https://it.w3docs.com/learn-javascript/webrtc |
| Web Audio API | https://it.w3docs.com/learn-javascript/web-audio-api |
| Notifications API | https://it.w3docs.com/learn-javascript/notifications-api |
| La Vibration API | https://it.w3docs.com/learn-javascript/the-vibration-api |
| JS Intl API | https://it.w3docs.com/learn-javascript/intl-api |
| JavaScript | https://it.w3docs.com/learn-javascript/javascript-intro |
| Function | https://it.w3docs.com/learn-javascript/the-new-function-syntax |
| JSON.parse() | https://it.w3docs.com/learn-javascript/working-with-json |
| Provalo tu stesso » | https://it.w3docs.com/tools/editor#code=PCFET0NUWVBFIGh0bWw-CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ-CiAgICA8bWV0YSBjaGFyc2V0PSJVVEYtOCIgLz4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MS4wIiAvPgogICAgPHRpdGxlPkR5bmFtaWMgQ2FsY3VsYXRvcjwvdGl0bGU-CjwvaGVhZD4KPGJvZHk-CiAgICA8cD5BZGQgYW55IGFyaXRobWV0aWMgZXhwcmVzc2lvbiBsaWtlIDEyICsgNSBhbmQgaGl0ICdDYWxjdWxhdGUnIGJ1dHRvbiE8L3A-CiAgICA8ZGl2PgogICAgICAgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBpZD0iZXhwcmVzc2lvbiIgcGxhY2Vob2xkZXI9IkVudGVyIGV4cHJlc3Npb24iIC8-IDwhLS0gVXNlciBpbnB1dCBmaWVsZCAtLT4KICAgICAgICA8YnV0dG9uIG9uY2xpY2s9ImV2YWx1YXRlRXhwcmVzc2lvbigpIj5DYWxjdWxhdGU8L2J1dHRvbj4gPCEtLSBCdXR0b24gdG8gdHJpZ2dlciBjYWxjdWxhdGlvbiAtLT4KICAgIDwvZGl2PgogICAgPGRpdiBpZD0iY2FsY1Jlc3VsdCI-PC9kaXY-IDwhLS0gRWxlbWVudCB0byBkaXNwbGF5IHJlc3VsdCAtLT4KICAgIDxzY3JpcHQ-CiAgICAgICAgZnVuY3Rpb24gZXZhbHVhdGVFeHByZXNzaW9uKCkgewogICAgICAgICAgICBjb25zdCBleHByZXNzaW9uID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ2V4cHJlc3Npb24nKS52YWx1ZTsgLy8gR2V0IHVzZXIgaW5wdXQKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGNvbnN0IHJlc3VsdCA9IGV2YWwoZXhwcmVzc2lvbik7IC8vIEV2YWx1YXRlIHRoZSBleHByZXNzaW9uCiAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnY2FsY1Jlc3VsdCcpLnRleHRDb250ZW50ID0gYFJlc3VsdDogJHtyZXN1bHR9YDsgLy8gRGlzcGxheSB0aGUgcmVzdWx0CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdjYWxjUmVzdWx0JykudGV4dENvbnRlbnQgPSAnSW52YWxpZCBleHByZXNzaW9uJzsgLy8gSGFuZGxlIGludmFsaWQgaW5wdXQKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIDwvc2NyaXB0Pgo8L2JvZHk-CjwvaHRtbD4&lang=html |
| strict mode | https://it.w3docs.com/learn-javascript/javascript-use-strict |
| Provalo tu stesso » | https://it.w3docs.com/tools/editor#code=PCFET0NUWVBFIGh0bWw-CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ-CiAgICA8bWV0YSBjaGFyc2V0PSJVVEYtOCIgLz4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MS4wIiAvPgogICAgPHRpdGxlPmV2YWwoKSBTZWN1cml0eSBSaXNrIEV4YW1wbGU8L3RpdGxlPgo8L2hlYWQ-Cjxib2R5PgogICAgPGRpdj4KICAgICA8cD5IaXQgJ1J1biBDb2RlJyBidXR0b24hPC9wPgogICAgICAgIDxpbnB1dCB0eXBlPSJ0ZXh0IiBpZD0idXNlcklucHV0IiBwbGFjZWhvbGRlcj0iRW50ZXIgY29kZSIgdmFsdWU9ImFsZXJ0KCdIYWNrZWQhJykiIC8-IDwhLS0gVXNlciBpbnB1dCBmaWVsZCAtLT4KICAgICAgICA8YnV0dG9uIG9uY2xpY2s9ImV2YWx1YXRlVXNlcklucHV0KCkiPlJ1biBDb2RlPC9idXR0b24-IDwhLS0gQnV0dG9uIHRvIHJ1biBjb2RlIC0tPgogICAgPC9kaXY-CiAgICA8ZGl2IGlkPSJ1c2VySW5wdXRSZXN1bHQiPjwvZGl2PiA8IS0tIEVsZW1lbnQgdG8gZGlzcGxheSByZXN1bHQgLS0-CiAgICA8c2NyaXB0PgogICAgICAgIGZ1bmN0aW9uIGV2YWx1YXRlVXNlcklucHV0KCkgewogICAgICAgICAgICBjb25zdCBpbnB1dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1c2VySW5wdXQnKS52YWx1ZTsgLy8gR2V0IHVzZXIgaW5wdXQKICAgICAgICAgICAgdHJ5IHsKICAgICAgICAgICAgICAgIGNvbnN0IHJlc3VsdCA9IGV2YWwoaW5wdXQpOyAvLyBFdmFsdWF0ZSB0aGUgdXNlciBpbnB1dAogICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3VzZXJJbnB1dFJlc3VsdCcpLnRleHRDb250ZW50ID0gYFJlc3VsdDogJHtyZXN1bHR9YDsgLy8gRGlzcGxheSB0aGUgcmVzdWx0CiAgICAgICAgICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCd1c2VySW5wdXRSZXN1bHQnKS50ZXh0Q29udGVudCA9ICdFcnJvciBpbiBldmFsdWF0aW9uJzsgLy8gSGFuZGxlIGV2YWx1YXRpb24gZXJyb3IKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIDwvc2NyaXB0Pgo8L2JvZHk-CjwvaHRtbD4&lang=html |
| Provalo tu stesso » | https://it.w3docs.com/tools/editor#code=PCFET0NUWVBFIGh0bWw-CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ-CiAgICA8bWV0YSBjaGFyc2V0PSJVVEYtOCIgLz4KICAgIDxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsIGluaXRpYWwtc2NhbGU9MS4wIiAvPgogICAgPHRpdGxlPlBlcmZvcm1hbmNlIElzc3VlcyB3aXRoIGV2YWwoKTwvdGl0bGU-CjwvaGVhZD4KPGJvZHk-CiAgICA8ZGl2IGlkPSJldmFsUmVzdWx0Ij48L2Rpdj4KICAgIDxkaXYgaWQ9ImZ1bmN0aW9uUmVzdWx0Ij48L2Rpdj4KICAgIDxzY3JpcHQ-CiAgICAgICAgLy8gVXNpbmcgZXZhbCgpCiAgICAgICAgY29uc3QgZXZhbFN0YXJ0VGltZSA9IHBlcmZvcm1hbmNlLm5vdygpOwogICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMTAwMDAwOyBpKyspIHsKICAgICAgICAgICAgZXZhbCgiMyAqIDQgKyA1Iik7CiAgICAgICAgfQogICAgICAgIGNvbnN0IGV2YWxFbmRUaW1lID0gcGVyZm9ybWFuY2Uubm93KCk7CiAgICAgICAgY29uc3QgZXZhbER1cmF0aW9uID0gZXZhbEVuZFRpbWUgLSBldmFsU3RhcnRUaW1lOwogICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdldmFsUmVzdWx0JykudGV4dENvbnRlbnQgPSBgVGltZSB0YWtlbiB3aXRoIGV2YWwoKTogJHtldmFsRHVyYXRpb259IG1zYDsKCiAgICAgICAgLy8gVXNpbmcgRnVuY3Rpb24gY29uc3RydWN0b3IKICAgICAgICBjb25zdCBmdW5jID0gbmV3IEZ1bmN0aW9uKCdyZXR1cm4gMyAqIDQgKyA1Jyk7CiAgICAgICAgY29uc3QgZnVuY1N0YXJ0VGltZSA9IHBlcmZvcm1hbmNlLm5vdygpOwogICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMTAwMDAwOyBpKyspIHsKICAgICAgICAgICAgZnVuYygpOwogICAgICAgIH0KICAgICAgICBjb25zdCBmdW5jRW5kVGltZSA9IHBlcmZvcm1hbmNlLm5vdygpOwogICAgICAgIGNvbnN0IGZ1bmNEdXJhdGlvbiA9IGZ1bmNFbmRUaW1lIC0gZnVuY1N0YXJ0VGltZTsKICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnZnVuY3Rpb25SZXN1bHQnKS50ZXh0Q29udGVudCA9IGBUaW1lIHRha2VuIHdpdGggRnVuY3Rpb24gY29uc3RydWN0b3I6ICR7ZnVuY0R1cmF0aW9ufSBtc2A7CiAgICA8L3NjcmlwdD4KPC9ib2R5Pgo8L2h0bWw-&lang=html |
| Function | https://it.w3docs.com/learn-javascript/the-new-function-syntax |
| JSON.parse() | https://it.w3docs.com/learn-javascript/working-with-json |
| Function | https://it.w3docs.com/learn-javascript/the-new-function-syntax |
| try...catch | https://it.w3docs.com/learn-javascript/error-handling-try-catch |
| La sintassi "new Function" | https://it.w3docs.com/learn-javascript/the-new-function-syntax |
| Lavorare con JSON | https://it.w3docs.com/learn-javascript/working-with-json |
| Gestione degli errori: try...catch | https://it.w3docs.com/learn-javascript/error-handling-try-catch |
| Strict mode: "use strict" | https://it.w3docs.com/learn-javascript/javascript-use-strict |
| ← PreviousProxy e Reflect | https://it.w3docs.com/learn-javascript/proxy-and-reflect |
| Next →Currying | https://it.w3docs.com/learn-javascript/currying |
| Comprendere la funzione eval() | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#comprendere-la-funzione-eval |
| Casi d'uso pratici di eval() | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#casi-duso-pratici-di-eval |
| eval() diretto vs. indiretto e scope | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#eval-diretto-vs-indiretto-e-scope |
| Problemi di sicurezza e prestazioni | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#problemi-di-sicurezza-e-prestazioni |
| Alternative a eval() | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#alternative-a-eval |
| Conclusione | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#conclusione |
| Argomenti correlati | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#argomenti-correlati |
| Esercitazione | https://it.w3docs.com/learn-javascript/eval-run-a-code-string#esercitazione |
| https://x.com/w3docs |
| https://github.com/w3docs |
| https://linkedin.com/company/w3docs |
| Imparare HTML | https://it.w3docs.com/learn-html |
| Impara CSS | https://it.w3docs.com/learn-css |
| Imparare JavaScript | https://it.w3docs.com/learn-javascript |
| Imparare Git | https://it.w3docs.com/learn-git |
| Imparare Java | https://it.w3docs.com/learn-java |
| Imparare PHP | https://it.w3docs.com/learn-php |
| Imparare Python | https://it.w3docs.com/learn-python |
| Esercizi | https://it.w3docs.com/exercise |
| Quiz | https://it.w3docs.com/quiz |
| Editor Try-it | https://it.w3docs.com/tools/editor |
| HTML Editor | https://it.w3docs.com/tools/editor |
| Password Generator | https://it.w3docs.com/tools/password-generator |
| HTML Encoder | https://it.w3docs.com/tools/html-encoder |
| Code Diff | https://it.w3docs.com/tools/code-diff |
| JSON Beautifier | https://it.w3docs.com/tools/json-beautify |
| Informazioni | https://it.w3docs.com/about |
| Contatti | https://it.w3docs.com/contact |
| Informativa sulla Privacy | https://it.w3docs.com/privacy |
| English | https://www.w3docs.com/learn-javascript/eval-run-a-code-string |
| Deutsch | https://de.w3docs.com/learn-javascript/eval-run-a-code-string |
| Русский | https://ru.w3docs.com/learn-javascript/eval-run-a-code-string |
| Français | https://fr.w3docs.com/learn-javascript/eval-run-a-code-string |
| Español | https://es.w3docs.com/learn-javascript/eval-run-a-code-string |
| Português | https://pt.w3docs.com/learn-javascript/eval-run-a-code-string |
| Italiano | https://it.w3docs.com/learn-javascript/eval-run-a-code-string |