CINXE.COM

JavaScript - Vikipedio

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="eo" dir="ltr"> <head> <meta charset="UTF-8"> <title>JavaScript - Vikipedio</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )eowikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t."," \t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],"wgRequestId":"0394782d-52e1-4233-8c83-2de36a7975c6","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"JavaScript","wgTitle":"JavaScript","wgCurRevisionId":8747819,"wgRevisionId":8747819,"wgArticleId":52533,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Listo de arkivitaj paĝoj de Retarkivo","JavaScript"],"wgPageViewLanguage":"eo","wgPageContentLanguage":"eo","wgPageContentModel":"wikitext","wgRelevantPageName":"JavaScript","wgRelevantArticleId":52533,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":1}}},"wgStableRevisionId": 8747819,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"eo","pageLanguageDir":"ltr","pageVariantFallbacks":"eo"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q2005","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.niceInfoboxes":"ready", "ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.flaggedRevs.basic":"ready","mediawiki.codex.messagebox.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.cite.ux-enhancements","ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.flaggedRevs.advanced","ext.gadget.Rekta-ligilo-al-Komunejo","ext.gadget.DocTabs","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init", "ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=ext.cite.styles%7Cext.flaggedRevs.basic%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cmediawiki.codex.messagebox.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=eo&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=ext.gadget.niceInfoboxes&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=eo&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/0/0c/JSDOM.gif"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1009"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/0/0c/JSDOM.gif"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="673"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="538"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="JavaScript - Vikipedio"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//eo.m.wikipedia.org/wiki/JavaScript"> <link rel="alternate" type="application/x-wiki" title="Redakti" href="/w/index.php?title=JavaScript&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Vikipedio (eo)"> <link rel="EditURI" type="application/rsd+xml" href="//eo.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://eo.wikipedia.org/wiki/JavaScript"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.eo"> <link rel="alternate" type="application/atom+xml" title="Vikipedio Atom-fonto" href="/w/index.php?title=Speciala%C4%B5o:Lastaj_%C5%9Dan%C4%9Doj&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-JavaScript rootpage-JavaScript skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Saltu al enhavo</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Retejo"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Ĉefa menuo" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Ĉefa menuo</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Ĉefa menuo</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">kaŝi</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigado </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-desciption" class="mw-list-item"><a href="/wiki/Vikipedio:%C4%88efpa%C4%9Do"><span>Ĉefpaĝo</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Portalo:Komunumo" title="Pri la projekto, kion vi povas fari, kie vi povas trovi ion"><span>Komunuma portalo</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/Vikipedio:Diskutejo"><span>Diskutejo</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Vikipedio:Aktuala%C4%B5oj" title="Trovi fonajn informojn pri nunaj eventoj"><span>Aktualaĵoj</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Lastaj_%C5%9Dan%C4%9Doj" title="Listo de la lastaj ŝanĝoj en la vikio. [r]" accesskey="r"><span>Lastaj ŝanĝoj</span></a></li><li id="n-newpages" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Novaj_pa%C4%9Doj"><span>Novaj paĝoj</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Hazarda_pa%C4%9Do" title="Iri al hazarda paĝo [x]" accesskey="x"><span>Hazarda paĝo</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Helpo:Enhavo" title="La loko por eltrovi"><span>Helpo</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Vikipedio:%C4%88efpa%C4%9Do" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Vikipedio" src="/static/images/mobile/copyright/wikipedia-wordmark-eo.svg" style="width: 6.875em; height: 1.125em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-eo.svg" width="109" height="13" style="width: 6.8125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Speciala%C4%B5o:Ser%C4%89i" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Serĉi tra Vikipedio [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Serĉi</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Serĉi tra Vikipedio" aria-label="Serĉi tra Vikipedio" autocapitalize="sentences" title="Serĉi tra Vikipedio [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Specialaĵo:Serĉi"> </div> <button class="cdx-button cdx-search-input__end-button">Serĉi</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personaj iloj"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Aspekto"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Aspekto" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Aspekto</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_eo.wikipedia.org&amp;uselang=eo" class=""><span>Donaci</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciala%C4%B5o:Krei_konton&amp;returnto=JavaScript" title="Ni rekomendas ke vi kreu uzantokonton kaj ensalutu, kvankam tio ne estas deviga" class=""><span>Krei konton</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Speciala%C4%B5o:Ensaluti&amp;returnto=JavaScript" title="Ni rekomendas ke vi ensalutu, kvankam tio ne estas devige. [o]" accesskey="o" class=""><span>Ensaluti</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Pliaj agordoj" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personaj iloj" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personaj iloj</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Menuo de uzanto" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_eo.wikipedia.org&amp;uselang=eo"><span>Donaci</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Krei_konton&amp;returnto=JavaScript" title="Ni rekomendas ke vi kreu uzantokonton kaj ensalutu, kvankam tio ne estas deviga"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Krei konton</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Ensaluti&amp;returnto=JavaScript" title="Ni rekomendas ke vi ensalutu, kvankam tio ne estas devige. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Ensaluti</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Paĝoj por elsalutitaj redaktistoj <a href="/wiki/Helpo:Enkonduko" aria-label="Lernu pli pri redaktado"><span>Lernu pli</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Miaj_kontribuoj" title="Listo de redaktoj faritaj el ĉi tiu IPa adreso [y]" accesskey="y"><span>Kontribuoj</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Mia_diskutpa%C4%9Do" title="Diskuto pri redaktoj sub tiu ĉi IP adreso [n]" accesskey="n"><span>Diskuto</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Retejo"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Enhavo" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Enhavo</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">kaŝi</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Komenco</div> </a> </li> <li id="toc-Uzo_de_la_lingvo" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Uzo_de_la_lingvo"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Uzo de la lingvo</span> </div> </a> <ul id="toc-Uzo_de_la_lingvo-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Ekzemploj" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Ekzemploj"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Ekzemploj</span> </div> </a> <ul id="toc-Ekzemploj-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Objektoj" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Objektoj"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Objektoj</span> </div> </a> <ul id="toc-Objektoj-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Regionoj_kaj_Fermigo" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Regionoj_kaj_Fermigo"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Regionoj kaj Fermigo</span> </div> </a> <ul id="toc-Regionoj_kaj_Fermigo-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Naski_objektojn_per_la_vorto_new" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Naski_objektojn_per_la_vorto_new"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Naski objektojn per la vorto <i>new</i></span> </div> </a> <ul id="toc-Naski_objektojn_per_la_vorto_new-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Heredi" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Heredi"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Heredi</span> </div> </a> <ul id="toc-Heredi-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Referencoj" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Referencoj"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Referencoj</span> </div> </a> <ul id="toc-Referencoj-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Vidu_ankaŭ" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Vidu_ankaŭ"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Vidu ankaŭ</span> </div> </a> <ul id="toc-Vidu_ankaŭ-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Eksteraj_ligiloj" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Eksteraj_ligiloj"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Eksteraj ligiloj</span> </div> </a> <ul id="toc-Eksteraj_ligiloj-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Enhavo" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Ŝaltu la enhavtabelon" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Ŝaltu la enhavtabelon</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">JavaScript</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Iru al artikolo en alia lingvo. Havebla en 109 lingvo" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-109" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">109 lingvoj</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/JavaScript" title="JavaScript — afrikansa" lang="af" hreflang="af" data-title="JavaScript" data-language-autonym="Afrikaans" data-language-local-name="afrikansa" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/JavaScript" title="JavaScript — aragona" lang="an" hreflang="an" data-title="JavaScript" data-language-autonym="Aragonés" data-language-local-name="aragona" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ang mw-list-item"><a href="https://ang.wikipedia.org/wiki/JavaScript" title="JavaScript — Old English" lang="ang" hreflang="ang" data-title="JavaScript" data-language-autonym="Ænglisc" data-language-local-name="Old English" class="interlanguage-link-target"><span>Ænglisc</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%AC%D8%A7%D9%81%D8%A7_%D8%B3%D9%83%D8%B1%D9%8A%D8%A8%D8%AA" title="جافا سكريبت — araba" lang="ar" hreflang="ar" data-title="جافا سكريبت" data-language-autonym="العربية" data-language-local-name="araba" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-arz mw-list-item"><a href="https://arz.wikipedia.org/wiki/%D8%AC%D8%A7%D9%81%D8%A7_%D8%B3%D9%83%D8%B1%D9%8A%D8%A8%D8%AA" title="جافا سكريبت — Egyptian Arabic" lang="arz" hreflang="arz" data-title="جافا سكريبت" data-language-autonym="مصرى" data-language-local-name="Egyptian Arabic" class="interlanguage-link-target"><span>مصرى</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/JavaScript" title="JavaScript — asturia" lang="ast" hreflang="ast" data-title="JavaScript" data-language-autonym="Asturianu" data-language-local-name="asturia" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/JavaScript" title="JavaScript — azerbajĝana" lang="az" hreflang="az" data-title="JavaScript" data-language-autonym="Azərbaycanca" data-language-local-name="azerbajĝana" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-azb mw-list-item"><a href="https://azb.wikipedia.org/wiki/%D8%AC%D8%A7%D9%88%D8%A7%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA" title="جاوااسکریپت — South Azerbaijani" lang="azb" hreflang="azb" data-title="جاوااسکریپت" data-language-autonym="تۆرکجه" data-language-local-name="South Azerbaijani" class="interlanguage-link-target"><span>تۆرکجه</span></a></li><li class="interlanguage-link interwiki-bat-smg mw-list-item"><a href="https://bat-smg.wikipedia.org/wiki/JavaScript" title="JavaScript — Samogitian" lang="sgs" hreflang="sgs" data-title="JavaScript" data-language-autonym="Žemaitėška" data-language-local-name="Samogitian" class="interlanguage-link-target"><span>Žemaitėška</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/JavaScript" title="JavaScript — belorusa" lang="be" hreflang="be" data-title="JavaScript" data-language-autonym="Беларуская" data-language-local-name="belorusa" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/JavaScript" title="JavaScript — Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="JavaScript" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/JavaScript" title="JavaScript — bulgara" lang="bg" hreflang="bg" data-title="JavaScript" data-language-autonym="Български" data-language-local-name="bulgara" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-blk mw-list-item"><a href="https://blk.wikipedia.org/wiki/JavaScript" title="JavaScript — Pa&#039;O" lang="blk" hreflang="blk" data-title="JavaScript" data-language-autonym="ပအိုဝ်ႏဘာႏသာႏ" data-language-local-name="Pa&#039;O" class="interlanguage-link-target"><span>ပအိုဝ်ႏဘာႏသာႏ</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%9C%E0%A6%BE%E0%A6%AD%E0%A6%BE%E0%A6%B8%E0%A7%8D%E0%A6%95%E0%A7%8D%E0%A6%B0%E0%A6%BF%E0%A6%AA%E0%A7%8D%E0%A6%9F" title="জাভাস্ক্রিপ্ট — bengala" lang="bn" hreflang="bn" data-title="জাভাস্ক্রিপ্ট" data-language-autonym="বাংলা" data-language-local-name="bengala" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-br mw-list-item"><a href="https://br.wikipedia.org/wiki/Javascript" title="Javascript — bretona" lang="br" hreflang="br" data-title="Javascript" data-language-autonym="Brezhoneg" data-language-local-name="bretona" class="interlanguage-link-target"><span>Brezhoneg</span></a></li><li class="interlanguage-link interwiki-bug mw-list-item"><a href="https://bug.wikipedia.org/wiki/JavaScript" title="JavaScript — buĝia" lang="bug" hreflang="bug" data-title="JavaScript" data-language-autonym="Basa Ugi" data-language-local-name="buĝia" class="interlanguage-link-target"><span>Basa Ugi</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/JavaScript" title="JavaScript — kataluna" lang="ca" hreflang="ca" data-title="JavaScript" data-language-autonym="Català" data-language-local-name="kataluna" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cdo mw-list-item"><a href="https://cdo.wikipedia.org/wiki/JavaScript" title="JavaScript — Mindong" lang="cdo" hreflang="cdo" data-title="JavaScript" data-language-autonym="閩東語 / Mìng-dĕ̤ng-ngṳ̄" data-language-local-name="Mindong" class="interlanguage-link-target"><span>閩東語 / Mìng-dĕ̤ng-ngṳ̄</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D8%AC%D8%A7%DA%A4%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA" title="جاڤاسکریپت — sorana" lang="ckb" hreflang="ckb" data-title="جاڤاسکریپت" data-language-autonym="کوردی" data-language-local-name="sorana" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/JavaScript" title="JavaScript — ĉeĥa" lang="cs" hreflang="cs" data-title="JavaScript" data-language-autonym="Čeština" data-language-local-name="ĉeĥa" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-cv mw-list-item"><a href="https://cv.wikipedia.org/wiki/JavaScript" title="JavaScript — ĉuvaŝa" lang="cv" hreflang="cv" data-title="JavaScript" data-language-autonym="Чӑвашла" data-language-local-name="ĉuvaŝa" class="interlanguage-link-target"><span>Чӑвашла</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/JavaScript" title="JavaScript — dana" lang="da" hreflang="da" data-title="JavaScript" data-language-autonym="Dansk" data-language-local-name="dana" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/JavaScript" title="JavaScript — germana" lang="de" hreflang="de" data-title="JavaScript" data-language-autonym="Deutsch" data-language-local-name="germana" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/JavaScript" title="JavaScript — greka" lang="el" hreflang="el" data-title="JavaScript" data-language-autonym="Ελληνικά" data-language-local-name="greka" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/JavaScript" title="JavaScript — angla" lang="en" hreflang="en" data-title="JavaScript" data-language-autonym="English" data-language-local-name="angla" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/JavaScript" title="JavaScript — hispana" lang="es" hreflang="es" data-title="JavaScript" data-language-autonym="Español" data-language-local-name="hispana" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/JavaScript" title="JavaScript — estona" lang="et" hreflang="et" data-title="JavaScript" data-language-autonym="Eesti" data-language-local-name="estona" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/JavaScript" title="JavaScript — eŭska" lang="eu" hreflang="eu" data-title="JavaScript" data-language-autonym="Euskara" data-language-local-name="eŭska" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%AC%D8%A7%D9%88%D8%A7%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA" title="جاوااسکریپت — persa" lang="fa" hreflang="fa" data-title="جاوااسکریپت" data-language-autonym="فارسی" data-language-local-name="persa" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/JavaScript" title="JavaScript — finna" lang="fi" hreflang="fi" data-title="JavaScript" data-language-autonym="Suomi" data-language-local-name="finna" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/JavaScript" title="JavaScript — franca" lang="fr" hreflang="fr" data-title="JavaScript" data-language-autonym="Français" data-language-local-name="franca" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-frr mw-list-item"><a href="https://frr.wikipedia.org/wiki/JavaScript" title="JavaScript — nord-frisa" lang="frr" hreflang="frr" data-title="JavaScript" data-language-autonym="Nordfriisk" data-language-local-name="nord-frisa" class="interlanguage-link-target"><span>Nordfriisk</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/JavaScript" title="JavaScript — galega" lang="gl" hreflang="gl" data-title="JavaScript" data-language-autonym="Galego" data-language-local-name="galega" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-ha mw-list-item"><a href="https://ha.wikipedia.org/wiki/JavaScript" title="JavaScript — haŭsa" lang="ha" hreflang="ha" data-title="JavaScript" data-language-autonym="Hausa" data-language-local-name="haŭsa" class="interlanguage-link-target"><span>Hausa</span></a></li><li class="interlanguage-link interwiki-hak mw-list-item"><a href="https://hak.wikipedia.org/wiki/JavaScript" title="JavaScript — Hakka Chinese" lang="hak" hreflang="hak" data-title="JavaScript" data-language-autonym="客家語 / Hak-kâ-ngî" data-language-local-name="Hakka Chinese" class="interlanguage-link-target"><span>客家語 / Hak-kâ-ngî</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/JavaScript" title="JavaScript — hebrea" lang="he" hreflang="he" data-title="JavaScript" data-language-autonym="עברית" data-language-local-name="hebrea" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hi mw-list-item"><a href="https://hi.wikipedia.org/wiki/%E0%A4%9C%E0%A4%BE%E0%A4%B5%E0%A4%BE%E0%A4%B8%E0%A5%8D%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%BF%E0%A4%AA%E0%A5%8D%E0%A4%9F" title="जावास्क्रिप्ट — hinda" lang="hi" hreflang="hi" data-title="जावास्क्रिप्ट" data-language-autonym="हिन्दी" data-language-local-name="hinda" class="interlanguage-link-target"><span>हिन्दी</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/JavaScript" title="JavaScript — kroata" lang="hr" hreflang="hr" data-title="JavaScript" data-language-autonym="Hrvatski" data-language-local-name="kroata" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/JavaScript" title="JavaScript — hungara" lang="hu" hreflang="hu" data-title="JavaScript" data-language-autonym="Magyar" data-language-local-name="hungara" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-hy mw-list-item"><a href="https://hy.wikipedia.org/wiki/%D5%8B%D5%A1%D5%BE%D5%A1%D5%8D%D5%AF%D6%80%D5%AB%D5%BA%D5%BF" title="ՋավաՍկրիպտ — armena" lang="hy" hreflang="hy" data-title="ՋավաՍկրիպտ" data-language-autonym="Հայերեն" data-language-local-name="armena" class="interlanguage-link-target"><span>Հայերեն</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/JavaScript" title="JavaScript — Interlingvao" lang="ia" hreflang="ia" data-title="JavaScript" data-language-autonym="Interlingua" data-language-local-name="Interlingvao" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/JavaScript" title="JavaScript — indonezia" lang="id" hreflang="id" data-title="JavaScript" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonezia" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/JavaScript" title="JavaScript — Ido" lang="io" hreflang="io" data-title="JavaScript" data-language-autonym="Ido" data-language-local-name="Ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/JavaScript" title="JavaScript — islanda" lang="is" hreflang="is" data-title="JavaScript" data-language-autonym="Íslenska" data-language-local-name="islanda" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/JavaScript" title="JavaScript — itala" lang="it" hreflang="it" data-title="JavaScript" data-language-autonym="Italiano" data-language-local-name="itala" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/JavaScript" title="JavaScript — japana" lang="ja" hreflang="ja" data-title="JavaScript" data-language-autonym="日本語" data-language-local-name="japana" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-jv mw-list-item"><a href="https://jv.wikipedia.org/wiki/JavaScript" title="JavaScript — java" lang="jv" hreflang="jv" data-title="JavaScript" data-language-autonym="Jawa" data-language-local-name="java" class="interlanguage-link-target"><span>Jawa</span></a></li><li class="interlanguage-link interwiki-ka mw-list-item"><a href="https://ka.wikipedia.org/wiki/JavaScript" title="JavaScript — kartvela" lang="ka" hreflang="ka" data-title="JavaScript" data-language-autonym="ქართული" data-language-local-name="kartvela" class="interlanguage-link-target"><span>ქართული</span></a></li><li class="interlanguage-link interwiki-kaa mw-list-item"><a href="https://kaa.wikipedia.org/wiki/JavaScript" title="JavaScript — Kara-Kalpak" lang="kaa" hreflang="kaa" data-title="JavaScript" data-language-autonym="Qaraqalpaqsha" data-language-local-name="Kara-Kalpak" class="interlanguage-link-target"><span>Qaraqalpaqsha</span></a></li><li class="interlanguage-link interwiki-kab mw-list-item"><a href="https://kab.wikipedia.org/wiki/JavaScript" title="JavaScript — kabila" lang="kab" hreflang="kab" data-title="JavaScript" data-language-autonym="Taqbaylit" data-language-local-name="kabila" class="interlanguage-link-target"><span>Taqbaylit</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/JavaScript" title="JavaScript — kazaĥa" lang="kk" hreflang="kk" data-title="JavaScript" data-language-autonym="Қазақша" data-language-local-name="kazaĥa" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-km mw-list-item"><a href="https://km.wikipedia.org/wiki/JavaScript" title="JavaScript — kmera" lang="km" hreflang="km" data-title="JavaScript" data-language-autonym="ភាសាខ្មែរ" data-language-local-name="kmera" class="interlanguage-link-target"><span>ភាសាខ្មែរ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8" title="자바스크립트 — korea" lang="ko" hreflang="ko" data-title="자바스크립트" data-language-autonym="한국어" data-language-local-name="korea" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ku mw-list-item"><a href="https://ku.wikipedia.org/wiki/JavaScript" title="JavaScript — kurda" lang="ku" hreflang="ku" data-title="JavaScript" data-language-autonym="Kurdî" data-language-local-name="kurda" class="interlanguage-link-target"><span>Kurdî</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/JavaScript" title="JavaScript — kirgiza" lang="ky" hreflang="ky" data-title="JavaScript" data-language-autonym="Кыргызча" data-language-local-name="kirgiza" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/JavaScript" title="JavaScript — latino" lang="la" hreflang="la" data-title="JavaScript" data-language-autonym="Latina" data-language-local-name="latino" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lfn mw-list-item"><a href="https://lfn.wikipedia.org/wiki/JavaScript" title="JavaScript — Lingua Franca Nova" lang="lfn" hreflang="lfn" data-title="JavaScript" data-language-autonym="Lingua Franca Nova" data-language-local-name="Lingua Franca Nova" class="interlanguage-link-target"><span>Lingua Franca Nova</span></a></li><li class="interlanguage-link interwiki-lmo mw-list-item"><a href="https://lmo.wikipedia.org/wiki/JavaScript" title="JavaScript — Lombard" lang="lmo" hreflang="lmo" data-title="JavaScript" data-language-autonym="Lombard" data-language-local-name="Lombard" class="interlanguage-link-target"><span>Lombard</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/JavaScript" title="JavaScript — litova" lang="lt" hreflang="lt" data-title="JavaScript" data-language-autonym="Lietuvių" data-language-local-name="litova" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/JavaScript" title="JavaScript — latva" lang="lv" hreflang="lv" data-title="JavaScript" data-language-autonym="Latviešu" data-language-local-name="latva" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/JavaScript" title="JavaScript — makedona" lang="mk" hreflang="mk" data-title="JavaScript" data-language-autonym="Македонски" data-language-local-name="makedona" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%9C%E0%B4%BE%E0%B4%B5%E0%B4%BE%E0%B4%B8%E0%B5%8D%E0%B4%95%E0%B5%8D%E0%B4%B0%E0%B4%BF%E0%B4%AA%E0%B5%8D%E0%B4%B1%E0%B5%8D%E0%B4%B1%E0%B5%8D" title="ജാവാസ്ക്രിപ്റ്റ് — malajalama" lang="ml" hreflang="ml" data-title="ജാവാസ്ക്രിപ്റ്റ്" data-language-autonym="മലയാളം" data-language-local-name="malajalama" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/JavaScript" title="JavaScript — mongola" lang="mn" hreflang="mn" data-title="JavaScript" data-language-autonym="Монгол" data-language-local-name="mongola" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%9C%E0%A4%BE%E0%A4%B5%E0%A4%BE%E0%A4%B8%E0%A5%8D%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%BF%E0%A4%AA%E0%A5%8D%E0%A4%9F" title="जावास्क्रिप्ट — marata" lang="mr" hreflang="mr" data-title="जावास्क्रिप्ट" data-language-autonym="मराठी" data-language-local-name="marata" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/JavaScript" title="JavaScript — malaja" lang="ms" hreflang="ms" data-title="JavaScript" data-language-autonym="Bahasa Melayu" data-language-local-name="malaja" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-my mw-list-item"><a href="https://my.wikipedia.org/wiki/JavaScript" title="JavaScript — birma" lang="my" hreflang="my" data-title="JavaScript" data-language-autonym="မြန်မာဘာသာ" data-language-local-name="birma" class="interlanguage-link-target"><span>မြန်မာဘာသာ</span></a></li><li class="interlanguage-link interwiki-mzn mw-list-item"><a href="https://mzn.wikipedia.org/wiki/%D8%AC%D8%A7%D9%88%D8%A7%D8%A7%D8%B3%DA%A9%D8%B1%DB%8C%D9%BE%D8%AA" title="جاوااسکریپت — mazandarana" lang="mzn" hreflang="mzn" data-title="جاوااسکریپت" data-language-autonym="مازِرونی" data-language-local-name="mazandarana" class="interlanguage-link-target"><span>مازِرونی</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%9C%E0%A4%BE%E0%A4%AD%E0%A4%BE%E0%A4%B8%E0%A5%8D%E0%A4%95%E0%A5%8D%E0%A4%B0%E0%A4%BF%E0%A4%AA%E0%A5%8D%E0%A4%9F" title="जाभास्क्रिप्ट — nepala" lang="ne" hreflang="ne" data-title="जाभास्क्रिप्ट" data-language-autonym="नेपाली" data-language-local-name="nepala" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/JavaScript" title="JavaScript — nederlanda" lang="nl" hreflang="nl" data-title="JavaScript" data-language-autonym="Nederlands" data-language-local-name="nederlanda" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/JavaScript" title="JavaScript — dannorvega" lang="nb" hreflang="nb" data-title="JavaScript" data-language-autonym="Norsk bokmål" data-language-local-name="dannorvega" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-or mw-list-item"><a href="https://or.wikipedia.org/wiki/%E0%AC%9C%E0%AC%BE%E0%AC%AD%E0%AC%BE%E0%AC%B8%E0%AD%8D%E0%AC%95%E0%AD%8D%E0%AC%B0%E0%AC%BF%E0%AC%AA%E0%AD%8D%E0%AC%9F" title="ଜାଭାସ୍କ୍ରିପ୍ଟ — orijo" lang="or" hreflang="or" data-title="ଜାଭାସ୍କ୍ରିପ୍ଟ" data-language-autonym="ଓଡ଼ିଆ" data-language-local-name="orijo" class="interlanguage-link-target"><span>ଓଡ଼ିଆ</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/JavaScript" title="JavaScript — pola" lang="pl" hreflang="pl" data-title="JavaScript" data-language-autonym="Polski" data-language-local-name="pola" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D8%AC%D8%A7%D9%88%D8%A7_%D8%B3%DA%A9%D8%B1%D9%BE%D9%B9" title="جاوا سکرپٹ — Western Punjabi" lang="pnb" hreflang="pnb" data-title="جاوا سکرپٹ" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/JavaScript" title="JavaScript — portugala" lang="pt" hreflang="pt" data-title="JavaScript" data-language-autonym="Português" data-language-local-name="portugala" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-pwn mw-list-item"><a href="https://pwn.wikipedia.org/wiki/JavaScript" title="JavaScript — Paiwan" lang="pwn" hreflang="pwn" data-title="JavaScript" data-language-autonym="Pinayuanan" data-language-local-name="Paiwan" class="interlanguage-link-target"><span>Pinayuanan</span></a></li><li class="interlanguage-link interwiki-qu mw-list-item"><a href="https://qu.wikipedia.org/wiki/JavaScript" title="JavaScript — keĉua" lang="qu" hreflang="qu" data-title="JavaScript" data-language-autonym="Runa Simi" data-language-local-name="keĉua" class="interlanguage-link-target"><span>Runa Simi</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/JavaScript" title="JavaScript — rumana" lang="ro" hreflang="ro" data-title="JavaScript" data-language-autonym="Română" data-language-local-name="rumana" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/JavaScript" title="JavaScript — rusa" lang="ru" hreflang="ru" data-title="JavaScript" data-language-autonym="Русский" data-language-local-name="rusa" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sah mw-list-item"><a href="https://sah.wikipedia.org/wiki/JavaScript" title="JavaScript — jakuta" lang="sah" hreflang="sah" data-title="JavaScript" data-language-autonym="Саха тыла" data-language-local-name="jakuta" class="interlanguage-link-target"><span>Саха тыла</span></a></li><li class="interlanguage-link interwiki-sco mw-list-item"><a href="https://sco.wikipedia.org/wiki/JavaScript" title="JavaScript — skota" lang="sco" hreflang="sco" data-title="JavaScript" data-language-autonym="Scots" data-language-local-name="skota" class="interlanguage-link-target"><span>Scots</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/JavaScript" title="JavaScript — serbo-Kroata" lang="sh" hreflang="sh" data-title="JavaScript" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="serbo-Kroata" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-si mw-list-item"><a href="https://si.wikipedia.org/wiki/%E0%B6%A2%E0%B7%8F%E0%B7%80%E0%B7%8F_%E0%B6%8B%E0%B6%B4%E0%B6%AF%E0%B7%9A%E0%B7%81%E0%B7%8F%E0%B7%80%E0%B6%BD%E0%B7%92%E0%B6%BA" title="ජාවා උපදේශාවලිය — sinhala" lang="si" hreflang="si" data-title="ජාවා උපදේශාවලිය" data-language-autonym="සිංහල" data-language-local-name="sinhala" class="interlanguage-link-target"><span>සිංහල</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/JavaScript" title="JavaScript — Simple English" lang="en-simple" hreflang="en-simple" data-title="JavaScript" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/JavaScript" title="JavaScript — slovaka" lang="sk" hreflang="sk" data-title="JavaScript" data-language-autonym="Slovenčina" data-language-local-name="slovaka" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/JavaScript" title="JavaScript — slovena" lang="sl" hreflang="sl" data-title="JavaScript" data-language-autonym="Slovenščina" data-language-local-name="slovena" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-so mw-list-item"><a href="https://so.wikipedia.org/wiki/JavaScript" title="JavaScript — somala" lang="so" hreflang="so" data-title="JavaScript" data-language-autonym="Soomaaliga" data-language-local-name="somala" class="interlanguage-link-target"><span>Soomaaliga</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/JavaScript" title="JavaScript — albana" lang="sq" hreflang="sq" data-title="JavaScript" data-language-autonym="Shqip" data-language-local-name="albana" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/JavaScript" title="JavaScript — serba" lang="sr" hreflang="sr" data-title="JavaScript" data-language-autonym="Српски / srpski" data-language-local-name="serba" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-su mw-list-item"><a href="https://su.wikipedia.org/wiki/JavaScript" title="JavaScript — sunda" lang="su" hreflang="su" data-title="JavaScript" data-language-autonym="Sunda" data-language-local-name="sunda" class="interlanguage-link-target"><span>Sunda</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Javascript" title="Javascript — sveda" lang="sv" hreflang="sv" data-title="Javascript" data-language-autonym="Svenska" data-language-local-name="sveda" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/JavaScript" title="JavaScript — svahila" lang="sw" hreflang="sw" data-title="JavaScript" data-language-autonym="Kiswahili" data-language-local-name="svahila" class="interlanguage-link-target"><span>Kiswahili</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%AF%E0%AE%BE%E0%AE%B5%E0%AE%BE%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%B1%E0%AE%BF%E0%AE%9F%E0%AF%8D%E0%AE%9F%E0%AF%81" title="யாவாக்கிறிட்டு — tamila" lang="ta" hreflang="ta" data-title="யாவாக்கிறிட்டு" data-language-autonym="தமிழ்" data-language-local-name="tamila" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%9C%E0%B0%BE%E0%B0%B5%E0%B0%BE%E0%B0%B8%E0%B1%8D%E0%B0%95%E0%B1%8D%E0%B0%B0%E0%B0%BF%E0%B0%AA%E0%B1%8D%E0%B0%9F%E0%B1%81" title="జావాస్క్రిప్టు — telugua" lang="te" hreflang="te" data-title="జావాస్క్రిప్టు" data-language-autonym="తెలుగు" data-language-local-name="telugua" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tet mw-list-item"><a href="https://tet.wikipedia.org/wiki/JavaScript" title="JavaScript — tetuna" lang="tet" hreflang="tet" data-title="JavaScript" data-language-autonym="Tetun" data-language-local-name="tetuna" class="interlanguage-link-target"><span>Tetun</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%88%E0%B8%B2%E0%B8%A7%E0%B8%B2%E0%B8%AA%E0%B8%84%E0%B8%A3%E0%B8%B4%E0%B8%9B%E0%B8%95%E0%B9%8C" title="จาวาสคริปต์ — taja" lang="th" hreflang="th" data-title="จาวาสคริปต์" data-language-autonym="ไทย" data-language-local-name="taja" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tk mw-list-item"><a href="https://tk.wikipedia.org/wiki/JavaScript" title="JavaScript — turkmena" lang="tk" hreflang="tk" data-title="JavaScript" data-language-autonym="Türkmençe" data-language-local-name="turkmena" class="interlanguage-link-target"><span>Türkmençe</span></a></li><li class="interlanguage-link interwiki-tl mw-list-item"><a href="https://tl.wikipedia.org/wiki/JavaScript" title="JavaScript — tagaloga" lang="tl" hreflang="tl" data-title="JavaScript" data-language-autonym="Tagalog" data-language-local-name="tagaloga" class="interlanguage-link-target"><span>Tagalog</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/JavaScript" title="JavaScript — turka" lang="tr" hreflang="tr" data-title="JavaScript" data-language-autonym="Türkçe" data-language-local-name="turka" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-tt mw-list-item"><a href="https://tt.wikipedia.org/wiki/JavaScript" title="JavaScript — tatara" lang="tt" hreflang="tt" data-title="JavaScript" data-language-autonym="Татарча / tatarça" data-language-local-name="tatara" class="interlanguage-link-target"><span>Татарча / tatarça</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/JavaScript" title="JavaScript — ukraina" lang="uk" hreflang="uk" data-title="JavaScript" data-language-autonym="Українська" data-language-local-name="ukraina" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-ur mw-list-item"><a href="https://ur.wikipedia.org/wiki/%D8%AC%D8%A7%D9%88%D8%A7_%D8%A7%D8%B3%DA%A9%D8%B1%D9%BE%D9%B9" title="جاوا اسکرپٹ — urduo" lang="ur" hreflang="ur" data-title="جاوا اسکرپٹ" data-language-autonym="اردو" data-language-local-name="urduo" class="interlanguage-link-target"><span>اردو</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/JavaScript" title="JavaScript — uzbeka" lang="uz" hreflang="uz" data-title="JavaScript" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="uzbeka" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vec mw-list-item"><a href="https://vec.wikipedia.org/wiki/JavaScript" title="JavaScript — Venetian" lang="vec" hreflang="vec" data-title="JavaScript" data-language-autonym="Vèneto" data-language-local-name="Venetian" class="interlanguage-link-target"><span>Vèneto</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/JavaScript" title="JavaScript — vjetnama" lang="vi" hreflang="vi" data-title="JavaScript" data-language-autonym="Tiếng Việt" data-language-local-name="vjetnama" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/JavaScript" title="JavaScript — vua" lang="wuu" hreflang="wuu" data-title="JavaScript" data-language-autonym="吴语" data-language-local-name="vua" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/JavaScript" title="JavaScript — ĉina" lang="zh" hreflang="zh" data-title="JavaScript" data-language-autonym="中文" data-language-local-name="ĉina" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-classical mw-list-item"><a href="https://zh-classical.wikipedia.org/wiki/%E7%88%AA%E5%93%87%E6%89%8B%E7%A8%BF%E8%AA%9E" title="爪哇手稿語 — Literary Chinese" lang="lzh" hreflang="lzh" data-title="爪哇手稿語" data-language-autonym="文言" data-language-local-name="Literary Chinese" class="interlanguage-link-target"><span>文言</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/JavaScript" title="JavaScript — Minnan" lang="nan" hreflang="nan" data-title="JavaScript" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="Minnan" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/JavaScript" title="JavaScript — kantona" lang="yue" hreflang="yue" data-title="JavaScript" data-language-autonym="粵語" data-language-local-name="kantona" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2005#sitelinks-wikipedia" title="Redakti interlingvajn ligilojn" class="wbc-editpage">Redakti ligilojn</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Nomspacoj"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/JavaScript" title="Vidi la artikolon [c]" accesskey="c"><span>Artikolo</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Diskuto:JavaScript&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Diskuto pri la artikolo (paĝo ne ekzistas) [t]" accesskey="t"><span>Diskuto</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Ŝanĝi lingvan varianton" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Esperanto</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Vidoj"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/JavaScript"><span>Legi</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=JavaScript&amp;veaction=edit" title="Redakti ĉi tiun paĝon [v]" accesskey="v"><span>Redakti</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=JavaScript&amp;action=edit" title="Redakti fontan kodon de tiu ĉi paĝo [e]" accesskey="e"><span>Redakti fonton</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=JavaScript&amp;action=history" title="Antaŭaj versioj de ĉi tiu paĝo. [h]" accesskey="h"><span>Vidi historion</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Paĝaj iloj"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Iloj" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Iloj</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Iloj</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">kaŝi</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Pliaj opcioj" > <div class="vector-menu-heading"> Agoj </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/JavaScript"><span>Legi</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=JavaScript&amp;veaction=edit" title="Redakti ĉi tiun paĝon [v]" accesskey="v"><span>Redakti</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=JavaScript&amp;action=edit" title="Redakti fontan kodon de tiu ĉi paĝo [e]" accesskey="e"><span>Redakti fonton</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=JavaScript&amp;action=history"><span>Vidi historion</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Ĝenerale </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Kio_ligas_%C4%89i_tien%3F/JavaScript" title="Listo de ĉiuj vikiaj paĝoj kiuj ligas ĉi tien [j]" accesskey="j"><span>Ligiloj ĉi tien</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Rilataj_%C5%9Dan%C4%9Doj/JavaScript" rel="nofollow" title="Lastaj ŝanĝoj en paĝoj kiuj ligas al ĉi tiu paĝo [k]" accesskey="k"><span>Rilataj ŝanĝoj</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=eo" title="Alŝuti dosierojn [u]" accesskey="u"><span>Alŝuti dosieron</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Speciala%C4%B5o:Specialaj_pa%C4%9Doj" title="Listo de ĉiuj specialaj paĝoj [q]" accesskey="q"><span>Specialaj paĝoj</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=JavaScript&amp;oldid=8747819" title="Porĉiama ligilo al ĉi versio de la paĝo"><span>Konstanta ligilo</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=JavaScript&amp;action=info" title="Pli da informo pri ĉi tiu paĝo"><span>Informoj pri la paĝo</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Citi&amp;page=JavaScript&amp;id=8747819&amp;wpFormIdentifier=titleform" title="Informoj pri kiel citi ĉi tiun paĝon"><span>Citi ĉi tiun artikolon</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:UrlShortener&amp;url=https%3A%2F%2Feo.wikipedia.org%2Fwiki%2FJavaScript"><span>Akiri mallongigitan URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:QrCode&amp;url=https%3A%2F%2Feo.wikipedia.org%2Fwiki%2FJavaScript"><span>Elŝutu QR-kodon</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Presi/elporti </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:Libro&amp;bookcmd=book_creator&amp;referer=JavaScript"><span>Krei libron</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Speciala%C4%B5o:DownloadAsPdf&amp;page=JavaScript&amp;action=show-download-screen"><span>Elŝuti kiel PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=JavaScript&amp;printable=yes" title="Presebla versio de tiu ĉi paĝo [p]" accesskey="p"><span>Presebla versio</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> En aliaj projektoj </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:JavaScript" hreflang="en"><span>Vikimedia Komunejo</span></a></li><li class="wb-otherproject-link wb-otherproject-mediawiki mw-list-item"><a href="https://www.mediawiki.org/wiki/JavaScript" hreflang="en"><span>MediaWiki</span></a></li><li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://www.wikifunctions.org/wiki/Z600" hreflang="en"><span>Wikifunctions</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q2005" title="Ligilo al konektita datuma ero [g]" accesskey="g"><span>Ero en Vikidatumoj</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Paĝaj iloj"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Aspekto"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Aspekto</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">movigi al flanka panelo</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">kaŝi</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">El Vikipedio, la libera enciklopedio</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="eo" dir="ltr"><table><tbody><tr><td style="padding:0.2em;"><span typeof="mw:File"><a href="/wiki/Helpo:Apartigiloj" title="Helpo:Apartigiloj"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Disambig-dark.svg/25px-Disambig-dark.svg.png" decoding="async" width="25" height="19" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Disambig-dark.svg/38px-Disambig-dark.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Disambig-dark.svg/50px-Disambig-dark.svg.png 2x" data-file-width="444" data-file-height="340" /></a></span></td><td style="padding:0.2em;"><i>Ĉi tiu artikolo temas pri reta programlingvo. Por insulo rigardu la paĝon <a href="/wiki/Javo" title="Javo">Javo</a>. Por (homa) lingvo legu la artikolon <a href="/wiki/Java_lingvo" title="Java lingvo">Java lingvo</a>. Por alia programlingvo disponeblas la paĝo <a href="/wiki/Java_(programlingvo)" title="Java (programlingvo)">Java (programlingvo)</a>. Koncerne aliajn signifojn aliru la apartigilon <a href="/wiki/Java_(apartigilo)" class="mw-disambig" title="Java (apartigilo)">Java (apartigilo)</a>.</i></td></tr></tbody></table> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/Dosiero:JSDOM.gif" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/0/0c/JSDOM.gif/220px-JSDOM.gif" decoding="async" width="220" height="185" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/0c/JSDOM.gif/330px-JSDOM.gif 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/0c/JSDOM.gif/440px-JSDOM.gif 2x" data-file-width="528" data-file-height="444" /></a><figcaption>Strukturo de ioj Ĝavoskriptaj objektoj.</figcaption></figure> <p><b>JavaScript</b> (ankaŭ nomata <b>Ĝavoskripto</b><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> aŭ simple <b>JS</b>) estas plur-paradigma programlingvo kaj havas karakterizaĵojn de ambaŭ <a href="/wiki/Funkciaj_lingvoj" title="Funkciaj lingvoj">funkciaj programlingvoj</a> kaj <a href="/wiki/Objektema_programado" title="Objektema programado">objektemaj</a> <a href="/wiki/Programlingvo" title="Programlingvo">programlingvoj.</a> Ĝi estas kreita en <a href="/wiki/1995" title="1995">1995</a>. </p><p>Oficiale Ĝavoskripton difinas la <a href="/wiki/Normigado" title="Normigado">normo</a> <i>ECMA‑262</i>, alinome <i>ECMAScript</i>. La nuna versio de tiu normo estas la tria, sed la kvina versio de tiu normo projektas anstataŭigi ĝin<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup>. La diversaj TTT-legiloj sufiĉe bone konformiĝas al tiu normo, sed ili kaŭzas programajn komplikojn pro malsimilaj adaptoj de la dokumentobjekta modelo (normo <i>dom</i>), tra kiu Ĝavoskripto manipulas la fenestrajn objektojn. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Uzo_de_la_lingvo">Uzo de la lingvo</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=1" title="Redakti sekcion: Uzo de la lingvo" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=1" title="Redakti la fontkodo de la sekcio: Uzo de la lingvo"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Ĝin funkciigas <a href="/wiki/TTT-legilo" title="TTT-legilo">TTT-legiloj</a>. Por sekureco de personaj komputiloj ĝi ne povas skribi sur diskojn. Ĝi estas kiel infano, ludanta intern infana ĝardeno kaj ne scianta pri eksteraj aferoj. Iam oni trovas, ke eĉ ĉe jam ekzistaj malpermesoj eblas krei per Ĝavoskripto danĝerajn programojn. Ekzemple, antaŭ kelkaj jaroj kelkaj TTT-legilaj versioj malpermesis, ke ĝavoskripta programo aperigu fenestrojn, kiuj estas tro malgrandaj, kvankam novaj fenestroj aperas ne ekster la TTT-legilo kaj ŝajnas, ke ili povas damaĝi nenion. </p><p>Utilo de la lingvo estas, ke dank ĝi TTT-legilo liberiĝas de revoki paĝon, se necesas tasko, en kiu konservendas nenio interreten (Ĝavoskripto meme faras la taskon, dank tio, ke Ĝavoskripto kapablas ŝanĝi bildon, kiu okupas TTT-legilan ekranon, kaj senti komandojn de homo). La plej ofta ĉi tia tasko: Ĝavoskripto kontrolas ĝuston de informacio, kiun homo provas sendi per TTT-legilo (Ĝavoskripto, ekzemple, insultas, se la homo tajpas vortojn en tabelon, en kiun endas tajpi nur nombrojn). Nature, la tasko, kiun faras Ĝavoskripto, indas esti ne tre malfacila, ĉar komputilo, en kiu lanĉitas TTT-legilo, eble estas ne sufiĉe forta (ekzemple, poŝkomputilo). </p><p>Ŝatantoj de Ĝavoskripto ricevis grandan ĝojon post apero de <a href="/wiki/HTML5" title="HTML5">la 5a versio de HTML</a>. En HTML5 aperis la kodero <code>canvas</code>, sur kiu oni povas desegni per Ĝavoskripto. </p><p>Unu el novaj uzoj de Ĝavoskripto estas malreale rigardi programojn por <a href="/wiki/Po%C5%9Dtelefono" title="Poŝtelefono">poŝtelefonoj</a> sen lanĉi ilin en reala poŝtelefono. Ĝavoskripto naskas TTT-legile bildon, kiu similas poŝtelefonajn aferojn. Se en lanĉo nenio konservendas por uzati en estontaj lanĉoj, malreala lanĉo tute sufiĉas (ekzemple, poŝtelefonaj <a href="/wiki/Videoludo" title="Videoludo">videoludoj</a>). Bonas ideo verki programojn por ĉi tia rigardmaniero ne en speciala poŝtelefona lingvo, sed rekte Ĝavoskripte. Kial? Se eblas krei ilojn tradukantajn ĉi tiajn ĝavoskriptajn programojn en la specialajn poŝtelefonajn lingvojn, oni akiras la avantaĝojn: </p> <ol><li>Ekzistas nune multo da diferencaj poŝtelefonaj familioj: <a href="/wiki/Android" title="Android">Android</a>, "Symbian", <a href="/wiki/IPad" title="IPad">iPad</a>, ktp. Sama programo uzeblas por kelkaj familioj (necesas nur riĉa ilaro por traduki ĝavoskriptajn programojn plurdirekte)</li> <li>Ĝavoskripton lerni (krome, plisimpligitan Ĝavoskripton, Ĝavoskripton sen povoj, neutilaj poŝtelefone) estas pli facile ol lerni specialajn lingvojn (Ĝavo, C++, ktp.)</li> <li>Ne necesas krei ĝavoskripte programon, legantan tekstojn de aliaj programlingvoj, sufiĉas nur malpermesi kelkajn tro fortajn povojn de Ĝavoskripto.</li></ol> <p>Ekzistas ankaŭe unu malavantaĝo: Poŝtelefona programo, akirita traduke, ne funkcias tiom rapide kiom funkcius sama programo verkita rekte en speciala lingvo, sed la ideo modas nune. Famas nune kelkaj ĉi tiaj manieroj verki ĝavoskriptajn programojn, ekzemple, <a href="/wiki/Sencha_Touch" title="Sencha Touch">Sencha Touch</a>. </p><p>Ekzistas ankaŭ uzoj de Ĝavoskripto ne TTT-legile. Ie ĝin oni uzas intern <a href="/wiki/Vindozo" class="mw-redirect" title="Vindozo">Vindozo</a>, ekzemple, sed ŝajnas, ke la plej fama uzo estas TTT-legila. Oni eĉ proponas inventi Ĝavoskripton en <a href="/wiki/Lernejo" title="Lernejo">lernejojn</a> anstataŭ tradiciajn programlingvojn por lerni <a href="/wiki/Algoritmo" title="Algoritmo">algoritmojn</a>. Simpleco de Ĝavoskripto kaj tio, ke oni bezonas neniun ilon krom TTT-legilon por lanĉi siajn programojn, estas avantaĝo (sed, nature, tio, ke TTT-legile malfacilas kontroli erarojn de programistoj, problemas lernejan uzon, necesas speciala, ne-TTT-legila, programado por sukcese instrui). </p> <div class="mw-heading mw-heading2"><h2 id="Ekzemploj">Ekzemploj</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=2" title="Redakti sekcion: Ekzemploj" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=2" title="Redakti la fontkodo de la sekcio: Ekzemploj"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Ĝavoskripto ne tipigas variablojn. Variablojn oni ne bezonas deklari por ke ili estu uzeblaj. </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">x</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">1</span> <span class="nx">x</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s2">&quot;Hello World!&quot;</span> <span class="nx">y</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nx">x</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="mf">2</span> <span class="c1">// “y” valoras &quot;Hello World!2&quot;.</span> </pre></div> <p>Vi povas vidi, ke, malsimile al Ĝavo, oni ne devas uzi punktokomojn inter komandoj, se la komandoj ne apartenas al la sama linio. Krome, oni ne bezonas uzi punktokomon post komando, se la komando estas lasta. </p><p>Tiel en Ĝavoskripto oni deklaras funkciojn: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">f</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="w"> </span><span class="nx">y</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="nx">x</span><span class="w"> </span><span class="p">(</span><span class="nx">y</span><span class="p">)</span><span class="w"> </span><span class="p">}</span> </pre></div> <p>Vi povas vidi, ke funkcio povas esti argumento por alia funkcio (tra la argumento "x" oni povas meti funkcion). </p><p>Ekzistas ilo por stiri videblon de variablo ekster funkcio. Ĉi tiu ilo estas la vorto <code>var</code>: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">g</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">,</span><span class="w"> </span><span class="nx">y</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nx">s</span><span class="o">=</span><span class="nx">x</span><span class="o">+</span><span class="nx">y</span><span class="p">;</span><span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">s</span><span class="p">;</span><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="nx">s</span><span class="o">*</span><span class="mf">2</span><span class="p">}</span> </pre></div> <p>La variablo <code>s</code> ne videblas ekster la funkcio g pro la komando "<code>var s</code>". </p> <div class="mw-heading mw-heading2"><h2 id="Objektoj">Objektoj</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=3" title="Redakti sekcion: Objektoj" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=3" title="Redakti la fontkodo de la sekcio: Objektoj"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Objektoj aperas en la lingvo tre simple. Ĉiu variablo povas ekhavi anojn, post ĉi tio ĝi estos objekto: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">g</span><span class="o">=</span><span class="p">{};</span> <span class="nx">g</span><span class="p">.</span><span class="nx">nomo</span><span class="o">=</span><span class="mf">1</span> </pre></div> <p>Sama senco: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">g</span><span class="o">=</span><span class="p">{</span><span class="nx">nomo</span><span class="o">:</span><span class="mf">1</span><span class="p">}</span> </pre></div> <p>Vi vidas objekton kun unu ano: <code>nomo</code>. Se vi provos akiri, ekzemple, <code>g.agho</code>, komputilo respondos "<code>undefined</code>" (nedifinita), sed ne "<code>null</code>" (malplena). </p><p>Ĉiu variablo, ne apartenanta al objekto, estas reale ano de la speciala objekto <i><code>window</code></i> (t.n. "<code>global object</code>"). Do, oni povas akiri la variablon <code>g</code> ankaŭ per la nomo "<code>window.g</code>". </p><p>Ekzistas du vojoj por atingi anon de objekto. Ekzemple, por akiri la anon "<code>nomo</code>" de la objekto "g": </p> <ol><li><code>g.nomo</code></li> <li><code>g["nomo"]</code></li></ol> <p>Dank'al la dua vojo oni povas rigardi akiron pri ano de objekto kiel funkcion, kies argumentoj estas la objekto kaj nomo de la ano: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="kd">function</span><span class="p">(</span><span class="nx">g</span><span class="p">){</span> <span class="w"> </span><span class="k">for</span><span class="p">(</span><span class="nx">i</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="nx">g</span><span class="p">){</span> <span class="w"> </span><span class="nx">alert</span><span class="p">(</span><span class="nx">g</span><span class="p">[</span><span class="nx">i</span><span class="p">]);</span> <span class="w"> </span><span class="p">}</span> <span class="p">}</span> </pre></div> <p>Krome, la dua vojo permesas uzi kelkajn vortojn por nomi anojn: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">ameriko</span><span class="o">=</span><span class="p">{</span><span class="s2">&quot;suda parto&quot;</span><span class="o">:</span><span class="s2">&quot;Kubo&quot;</span><span class="p">,</span><span class="s2">&quot;norda parto&quot;</span><span class="o">:</span><span class="s2">&quot;Usono&quot;</span><span class="p">};</span> <span class="nx">alert</span><span class="p">(</span><span class="nx">ameriko</span><span class="p">[</span><span class="s2">&quot;suda parto&quot;</span><span class="p">]);</span> </pre></div> <p>Krome, la dua vojo permesas uzi nombrojn por nomi anojn (speciala speco de objektoj, "<code>Array</code>" = tabelo): </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">teamo</span><span class="o">=</span><span class="p">[</span><span class="s2">&quot;Johano&quot;</span><span class="p">,</span><span class="s2">&quot;Paŭlo&quot;</span><span class="p">,</span><span class="s2">&quot;Ringo&quot;</span><span class="p">,</span><span class="s2">&quot;Georgo&quot;</span><span class="p">];</span> <span class="nx">alert</span><span class="p">(</span><span class="nx">teamo</span><span class="p">[</span><span class="mf">0</span><span class="p">]);</span> </pre></div> <p>Ano de objekto povas esti funkcio. Funkcio povas koni objekton, kies ano ĝi nun estas, per la speciala nomo <i><code>this</code></i>. </p> <div class="mw-heading mw-heading2"><h2 id="Regionoj_kaj_Fermigo">Regionoj kaj Fermigo</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=4" title="Redakti sekcion: Regionoj kaj Fermigo" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=4" title="Redakti la fontkodo de la sekcio: Regionoj kaj Fermigo"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Rigardu ekzemplon, en kiu funkcio naskiĝis interne de alia funkcio: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">v</span><span class="o">=</span><span class="kd">function</span><span class="p">(){</span> <span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">g</span><span class="o">=</span><span class="s2">&quot;Ĝise&quot;</span><span class="p">;</span> <span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">h</span><span class="o">=</span><span class="kd">function</span><span class="p">(){</span> <span class="w"> </span><span class="nx">alert</span><span class="p">(</span><span class="nx">g</span><span class="p">);</span> <span class="w"> </span><span class="p">};</span> <span class="w"> </span><span class="nx">g</span><span class="o">=</span><span class="s2">&quot;Poste&quot;</span><span class="p">;</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="nx">h</span><span class="p">;</span> <span class="p">};</span> <span class="nx">v</span><span class="p">()();</span> </pre></div> <p>Multaj homoj opinias, ke la skripto devontus mesaĝi “Ĝise”. Oni kutime pensas, imagante, ke post la funkcio <code>h</code> naskiĝas, la funkcio <code>h</code> ne dependas de la variablo <code>g</code>. Sed reale la skripto mesaĝas “Poste”. Kvankam la variablo <code>g</code> ne videblas ekster la funkcio <code>v</code>, kreintoj de Ĝavoskripto permesis al la funkcio, kiun donas la funkcio <code>v</code>, uzi la variablon <code>g</code>. Do laŭ la difino de Ĝavoskripto eblas, ke rezulto de la funkcio <code>v</code> private posedas variablon. Ĉi tia variablaro, posedata private, nomiĝas “regiono” (“scope” en la <a href="/wiki/Angla_lingvo" title="Angla lingvo">angla</a>). </p><p>Fermigo (angle: “Closure”) estas tio, kio uzas la nomregionon. Ĝis morto de ĉiuj fermigoj, la ilo rubkolektilo (angle: “Garbage collector”) ne rajtas liberigi memoron, kiun okupas fermigoj. En la lasta ekzemplo, la fermigo estas rezulto de la funkcio <code>v</code>, kiu estas ankaŭ funkcio. </p> <div class="mw-heading mw-heading2"><h2 id="Naski_objektojn_per_la_vorto_new">Naski objektojn per la vorto <i>new</i></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=5" title="Redakti sekcion: Naski objektojn per la vorto new" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=5" title="Redakti la fontkodo de la sekcio: Naski objektojn per la vorto new"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Kio okazos, se funkcio, kiu uzas la nomon <i><code>this</code></i>, estas nenies ano? La vorto <i><code>this</code></i> signifos novan objekton, kiu naskiĝos pro voko de la funkcio: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">virino</span><span class="o">=</span><span class="kd">function</span><span class="p">(){</span> <span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">vesto</span><span class="o">=</span><span class="s2">&quot;robo&quot;</span><span class="p">;</span> <span class="p">};</span> <span class="nx">onklino</span><span class="o">=</span><span class="ow">new</span><span class="w"> </span><span class="nx">virino</span><span class="p">();</span> </pre></div> <p>Atingi ĉi tiun objekton oni povas per la speciala vorto <i><code>new</code></i> (por ne konfuzi al rezulto de la funkcio, oni ĝin ne atingas per rekta voko "<code>onklino=virino()</code>", ĉar ĉi tiel oni povas atingi tion, kio lokiĝas post la vorto <i><code>return</code></i>, anstataŭ tion, kion signifis la nomo <i><code>this</code></i> interne de la funkcio). </p><p>Do ĉiu funkcio estas kiel klaso en <a href="/wiki/Java_(programlingvo)" title="Java (programlingvo)">Ĝavo</a>, aperas parenceco inter objektoj. Oni povas ekscii, ĉu objekto apartenas klason per la funkcio <code>instanceof</code>. Ekzemple: <code>onklino instanceof virino</code> estas <code>true</code>. </p><p>Reale, ĉiu simpla tipo en Ĝavoskripto estas klaso. Ekzistas klaso: </p> <ol><li><code>String</code> = karaktraro</li> <li><code>Number</code> = nombro</li> <li><code>Boolean</code> = bulea</li> <li><code>Array</code> = tabelo</li> <li><code>Function</code> = funkcio</li> <li><code>Object</code> = objekto</li></ol> <p>Ekzemple, ĉiu objekto havas la anon <code>toString()</code>, kaj la primitivaj tipoj ne estas escepto (malkiel Ĝave): </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">a</span><span class="o">=</span><span class="mf">3</span><span class="p">;</span> <span class="nx">alert</span><span class="p">(</span><span class="nx">a</span><span class="p">.</span><span class="nx">toString</span><span class="p">());</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Heredi">Heredi</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=6" title="Redakti sekcion: Heredi" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=6" title="Redakti la fontkodo de la sekcio: Heredi"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Ĉiu funkcio havas anon "prototype", en kiun oni povas meti objekton (ne funkcion!), kies ecojn ĉiuj idoj de la funkcio heredu. Ekzemple: </p> <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">patrino</span><span class="o">=</span><span class="ow">new</span><span class="w"> </span><span class="nx">virino</span><span class="p">();</span> <span class="nx">patrino</span><span class="p">.</span><span class="nx">okuloj</span><span class="o">=</span><span class="s2">&quot;bluaj&quot;</span><span class="p">;</span> <span class="nx">knabino</span><span class="o">=</span><span class="kd">function</span><span class="p">(){</span> <span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">karaktero</span><span class="o">=</span><span class="s2">&quot;malbona&quot;</span><span class="p">;</span> <span class="p">};</span> <span class="nx">knabino</span><span class="p">.</span><span class="nx">prototype</span><span class="o">=</span><span class="nx">patrino</span><span class="p">;</span> <span class="nx">fratino</span><span class="o">=</span><span class="ow">new</span><span class="w"> </span><span class="nx">knabino</span><span class="p">();</span> <span class="nx">alert</span><span class="p">(</span><span class="nx">fratino</span><span class="p">.</span><span class="nx">okuloj</span><span class="p">);</span> <span class="c1">//okuloj de fratino estas tiaj, kiaj estas okuloj de patrino (&quot;bluaj&quot;)</span> </pre></div> <div class="mw-heading mw-heading2"><h2 id="Referencoj">Referencoj</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=7" title="Redakti sekcion: Referencoj" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=7" title="Redakti la fontkodo de la sekcio: Referencoj"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="reflist references-small" style="-moz-column-count:2; column-count:2; -webkit-column-count:2; padding-right: 6px;"> <ol class="references"> <li id="cite_note-1"><a href="#cite_ref-1">↑</a> <span class="reference-text"><a rel="nofollow" class="external text" href="https://komputeko.net/#JavaScript">Javascript</a> en <a href="/wiki/Komputeko" title="Komputeko">Komputeko</a></span> </li> <li id="cite_note-2"><a href="#cite_ref-2">↑</a> <span class="reference-text">&#32;<a rel="nofollow" class="external text" href="https://web.archive.org/web/20121220220733/https://developer.mozilla.org/en-US/docs/JavaScript/New_in_JavaScript/1.8.5">Ŝanĝoj en la versio 1.8.5 de JavaScript.</a>.&#32;Arkivita el <a rel="nofollow" class="external text" href="https://developer.mozilla.org/en-US/docs/JavaScript/New_in_JavaScript/1.8.5">la originalo</a> je 2012-12-20.&#32;Alirita 2012-11-30 .</span> </li> </ol></div> <div class="mw-heading mw-heading2"><h2 id="Vidu_ankaŭ"><span id="Vidu_anka.C5.AD"></span>Vidu ankaŭ</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=8" title="Redakti sekcion: Vidu ankaŭ" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=8" title="Redakti la fontkodo de la sekcio: Vidu ankaŭ"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/LibreJS" class="mw-redirect" title="LibreJS">LibreJS</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Eksteraj_ligiloj">Eksteraj ligiloj</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=JavaScript&amp;veaction=edit&amp;section=9" title="Redakti sekcion: Eksteraj ligiloj" class="mw-editsection-visualeditor"><span>redakti</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=JavaScript&amp;action=edit&amp;section=9" title="Redakti la fontkodo de la sekcio: Eksteraj ligiloj"><span>redakti fonton</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="noprint" id="aliaj_projektoj" style="float: right; clear: right; width: 250px; border: 1px solid #aaa; padding: 4px; font-size: 90%; background: #f9f9f9;"> <ul class="noarchive"><li class="commons"><span class="plainlinks"><a class="external text" href="https://commons.wikimedia.org/wiki/Category:JavaScript?uselang=eo">Kategorio JavaScript en la <span>Vikimedia Komunejo</span></a> (Multrimedaj datumoj)</span> </li></ul> </div> <ul><li><a href="/wiki/Angla_lingvo" title="Angla lingvo"><span style="color:var(--color-subtle, #54595d);">angle</span></a> <a rel="nofollow" class="external text" href="https://developer.mozilla.org/Special:Tags?tag=JavaScript">Informoj ĉe developer.mozilla.org</a> <a rel="nofollow" class="external text" href="https://web.archive.org/web/20100702190225/https://developer.mozilla.org/Special:Tags?tag=JavaScript">Arkivigite je</a> 2010-07-02 per la retarkivo <a href="/wiki/Wayback_Machine" title="Wayback Machine">Wayback Machine</a></li></ul> <div class="noprint" style="clear:both; margin-top:0px; border: 1px solid var(--border-color-base, #a2a9b1); padding: 0px; font-size: 90%; background: var(--background-color-neutral-subtle, #f8f9fa); color:inherit"> <table> <tbody><tr> <td class="navbox-group"><a href="/wiki/Norma_datumaro" title="Norma datumaro">Bibliotekoj</a> </td> <td class="plainlinks hlist" style="font-size: 80%;"> <ul><li><a href="/wiki/Helpo:Bibliotekoj" title="Helpo:Bibliotekoj">PeEnEo</a>: <a class="external text" href="https://eo.wikipedia.org/?curid=52533">52533</a></li> <li><span class="nowrap"><a href="/wiki/Komuna_Norma_Datumaro" title="Komuna Norma Datumaro">GND</a>: <a rel="nofollow" class="external text" href="http://d-nb.info/gnd/4420180-1">4420180-1</a></span></li> <li><span class="nowrap"><a href="/wiki/Kontrolnumero_de_la_Kongresa_Biblioteko_de_Usono" title="Kontrolnumero de la Kongresa Biblioteko de Usono">LCCN</a>: <a rel="nofollow" class="external text" href="http://id.loc.gov/authorities/names/sh96004880">sh96004880</a></span></li> <li><span class="nowrap"><a href="/wiki/Syst%C3%A8me_universitaire_de_documentation" title="Système universitaire de documentation">SUDOC</a>: <a rel="nofollow" class="external text" href="http://www.idref.fr/034781870">034781870</a></span></li> <li><span class="nowrap"><a href="/wiki/Nacia_Biblioteko_de_Francio" title="Nacia Biblioteko de Francio">BNF</a>: <a rel="nofollow" class="external text" href="http://catalogue.bnf.fr/ark:/12148/cb12549978q">12549978q</a></span></li> <li><span class="nowrap"><a href="/wiki/Nacia_Biblioteko_de_la_%C4%88e%C4%A5a_Respubliko" title="Nacia Biblioteko de la Ĉeĥa Respubliko">NKC</a>: <a rel="nofollow" class="external text" href="http://aut.nkp.cz/ph117651">ph117651</a></span></li> <li><span class="nowrap"><a href="/wiki/Nacia_Biblioteko_de_Hispanio" title="Nacia Biblioteko de Hispanio">BNE</a>: <a rel="nofollow" class="external text" href="http://datos.bne.es/resource/XX542465">XX542465</a></span></li></ul> </td></tr></tbody></table> </div></div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Elŝutita el "<a dir="ltr" href="https://eo.wikipedia.org/w/index.php?title=JavaScript&amp;oldid=8747819">https://eo.wikipedia.org/w/index.php?title=JavaScript&amp;oldid=8747819</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Speciala%C4%B5o:Kategorioj" title="Specialaĵo:Kategorioj">Kategorio</a>: <ul><li><a href="/wiki/Kategorio:JavaScript" title="Kategorio:JavaScript">JavaScript</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Kaŝita kategorio: <ul><li><a href="/wiki/Kategorio:Listo_de_arkivitaj_pa%C4%9Doj_de_Retarkivo" title="Kategorio:Listo de arkivitaj paĝoj de Retarkivo">Listo de arkivitaj paĝoj de Retarkivo</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Ĉi tiu paĝo estis lastafoje redaktita je 16:08, 21 maj. 2024.</li> <li id="footer-info-copyright">La teksto disponeblas laŭ la permesilo <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.eo">Krea Komunaĵo Atribuite-Samkondiĉe 4.0 Neadaptita</a>; eble aldonaj kondiĉoj aplikeblas. Vidu la <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">uzkondiĉojn</a> por detaloj.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Regularo pri respekto de la privateco</a></li> <li id="footer-places-about"><a href="/wiki/Vikipedio:Enkonduko">Pri Vikipedio</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Vikipedio:Malgarantio">Malgarantioj</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Programistoj</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/eo.wikipedia.org">Statistikoj</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Deklaro pri kuketoj</a></li> <li id="footer-places-mobileview"><a href="//eo.m.wikipedia.org/w/index.php?title=JavaScript&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Poŝtelefona vido</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-cc877b49b-skfhh","wgBackendResponseTime":188,"wgPageParseReport":{"limitreport":{"cputime":"0.113","walltime":"0.415","ppvisitednodes":{"value":553,"limit":1000000},"postexpandincludesize":{"value":5656,"limit":2097152},"templateargumentsize":{"value":1005,"limit":2097152},"expansiondepth":{"value":9,"limit":100},"expensivefunctioncount":{"value":12,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":9943,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 373.126 1 -total"," 26.40% 98.522 1 Ŝablono:Projektoj"," 12.36% 46.126 1 Ŝablono:Bibliotekoj"," 5.16% 19.266 1 Ŝablono:Prisupre"," 2.94% 10.982 1 Ŝablono:En"," 2.71% 10.127 1 Ŝablono:Webarchiv"," 2.24% 8.348 1 Ŝablono:Referencoj"," 1.17% 4.361 1 Ŝablono:Citaĵo_el_la_reto"]},"scribunto":{"limitreport-timeusage":{"value":"0.016","limit":"10.000"},"limitreport-memusage":{"value":1341296,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-7494d5f4d9-7n4fj","timestamp":"20241121203510","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"JavaScript","url":"https:\/\/eo.wikipedia.org\/wiki\/JavaScript","sameAs":"http:\/\/www.wikidata.org\/entity\/Q2005","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q2005","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2005-10-04T08:49:05Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/0\/0c\/JSDOM.gif","headline":"programlingvo"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10