{"id":10466,"date":"2021-08-03T09:09:03","date_gmt":"2021-08-03T09:09:03","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=10466"},"modified":"2025-12-02T15:30:52","modified_gmt":"2025-12-02T15:30:52","slug":"what-is-javascript","status":"publish","type":"post","link":"\/ca\/tutorials\/what-is-javascript","title":{"rendered":"What is JavaScript? Definition, features, and uses explained"},"content":{"rendered":"<p>JavaScript (JS) is a <strong>lightweight, interpreted scripting language that creates dynamic and interactive content on websites<\/strong>.<\/p><p>It handles everything from simple animations and interactive maps to complex web applications. While HTML provides the structure and CSS adjusts the styling, JavaScript makes websites responsive to user actions.<\/p><p>Understanding JavaScript requires familiarity with its core elements:<\/p><ul class=\"wp-block-list\">\n<li><strong>Core features<\/strong>. It&rsquo;s versatile and efficient with lightweight interpretation, dynamic typing, and event-driven responses.<\/li>\n\n\n\n<li><strong>Syntax and basics<\/strong>. This includes variables, data types, operators, functions, and conditionals for decision-making logic.<\/li>\n\n\n\n<li><strong>Advantages and disadvantages<\/strong>. Simplicity, speed, and versatility versus limited browser compatibility and debugging challenges.<\/li>\n\n\n\n<li><strong>Use cases<\/strong>. JavaScript is used for app development, game development, website interactivity, back-end applications, among others.<\/li>\n\n\n\n<li><strong>Popular frameworks<\/strong>. The major ones include React, Angular, jQuery, Node.js, and Vue.js.<\/li>\n\n\n\n<li><strong>Language positioning<\/strong>. Interpreted nature and flexibility distinguish it from compiled alternatives.<\/li>\n<\/ul><p>If you prefer a visual guide to learn what JavaScript is, watch the video below from Hostinger Academy:<\/p><figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"What Is JavaScript | Explained\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/-N2-jsKUB7Y?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><p>\n  <div class=\"youtube-shortcode\">\n    <div class=\"row\">\n      <div class=\"col-7 col-sm-8 d-flex align-items-center\">\n        <img decoding=\"async\" class=\"channel-logo\" src=\"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/youtube-channels\/hostinger-academy.jpg\" alt=\"youtube channel logo\">\n        <div class=\"d-flex flex-column justify-content-between\">\n          <span class=\"slogan d-none d-sm-block\">Subscribe For more educational videos!<\/span>\n          <span class=\"channel-name\">Hostinger Academy<\/span>\n                    <\/div>\n      <\/div>\n      <div class=\"col-5 col-sm-4 d-flex align-items-center justify-content-end\">\n          <a class=\"subscribe-button\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" href=\"http:\/\/www.youtube.com\/channel\/UCbNIC-svDbtUOH2qsLnPQPg?sub_confirmation=1\">\n            <img decoding=\"async\" src=\"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-content\/themes\/tutorialsthemeuplift\/public\/images\/icons\/youtube.svg\" alt=\"subscribe\">\n            <span>Subscribe<\/span>\n          <\/a>\n      <\/div>\n    <\/div>\n  <\/div>\n\n    \n\n\n\n<\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/Web-Development-Glossary-for-Beginners.pdf\" target=\"_blank\" rel=\"noopener\">Download glossary for web beginners<\/a><\/p><p>\n\n\n\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-key-features-of-javascript\">Key features of JavaScript<\/h2><p>The main features of JavaScript are its <strong>versatility and efficiency in creating dynamic web content<\/strong>. These characteristics make it a cornerstone of modern web development.<\/p><ul class=\"wp-block-list\">\n<li><strong>Lightweight and interpreted<\/strong>. JavaScript doesn&rsquo;t need compilation before running. Consequently, web browsers interpret the code directly, and development and testing is faster.<\/li>\n\n\n\n<li><strong>Dynamic typing<\/strong>. Variables in JavaScript don&rsquo;t have a fixed data type. You can assign a number to a variable and later reassign a string to the same variable, offering great flexibility.<\/li>\n\n\n\n<li><strong>Event-driven<\/strong>. JavaScript responds to user actions, known as events. These include clicks, mouse movements, or key presses, enabling highly interactive user experiences.<\/li>\n\n\n\n<li><strong>Supports object-oriented and functional programming<\/strong>. JavaScript works with both object-oriented programming (OOP), which organizes code around objects, and functional programming paradigms, which treat functions as first-class citizens. This hybrid nature lets developers choose the best approach for their needs.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-javascript-syntax-and-basics\">JavaScript syntax and basics<\/h2><p>JavaScript&rsquo;s syntax is the <strong>set of rules that define how to write JavaScript code<\/strong>. Understanding these basics is the first step to writing functional code.<\/p><ul class=\"wp-block-list\">\n<li><strong>Variables<\/strong>. These are containers for storing data values. In modern JavaScript, it&rsquo;s best practice to declare variables with <strong>let<\/strong> for values that can change, <strong>const<\/strong> for values that should not change, and <strong>var<\/strong> for legacy code.<\/li>\n\n\n\n<li><strong>Data types<\/strong>. Every variable has a data type. The most common are <strong>String<\/strong> (for text like <strong>&ldquo;Hello&rdquo;<\/strong>), <strong>Number<\/strong> (for numbers like <strong>100<\/strong>), <strong>Boolean<\/strong> (for <strong>true<\/strong> or <strong>false<\/strong> values), <strong>Object<\/strong> (for collections of data and more complex entities), and <strong>Undefined<\/strong>.<\/li>\n\n\n\n<li><strong>Operators<\/strong>. These are symbols used to perform operations on variables and values. Common types include arithmetic operators (<strong>+<\/strong>, <strong>&ndash;<\/strong>, <strong>*<\/strong>, <strong>\/<\/strong>), assignment operators (<strong>=<\/strong>), and comparison operators (<strong>==<\/strong>, <strong>&gt;<\/strong>). For example, the <strong>+<\/strong> operator can join two strings (<strong>&ldquo;Hello&rdquo; + &rdquo; World&rdquo;<\/strong>).<\/li>\n\n\n\n<li><strong>Functions<\/strong>. A function is a reusable block of code that performs a specific task. Defining functions helps keep your code organized and avoids repetition.<\/li>\n\n\n\n<li><strong>Conditionals<\/strong>. These statements let you run different code blocks based on a condition. An <strong>if&hellip;else<\/strong> statement is like making a decision: if a condition is true, do one thing; otherwise, do something else.<\/li>\n<\/ul><p>Here is a simple &ldquo;Hello, World!&rdquo; example in JavaScript. This code creates a function that shows an alert pop-up in the browser:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">\/\/ This function displays a pop-up box\nfunction greet() {\n   alert(\"Hello, World!\");\n}\n\/\/ This line calls the function to make it run\ngreet();<\/pre><p>To see this code in action, copy and paste it into an HTML file, save it, and open it with any web browser. Here&rsquo;s a complete template you can use:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;!DOCTYPE html&gt;\n&lt;html&gt;\n&lt;head&gt;\n   &lt;title&gt;My First JavaScript&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n   &lt;h1&gt;My web page&lt;\/h1&gt;\n   \n   &lt;script&gt;\n      \/\/ This function displays a pop-up box\n      function greet() {\n         alert(\"Hello, World!\");\n      }\n      \/\/ This line calls the function to make it run\n      greet();\n   &lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre><p>When you open this <strong>HTML <\/strong>file in your browser, the JavaScript inside the <strong>&lt;script&gt;<\/strong> tags runs automatically, and you will see the &ldquo;Hello, World!&rdquo; pop-up appear.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"69e1e39e8d500\"}' data-wp-interactive=\"core\/image\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"402\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/chrome-javascript-hello-world-popup-1024x402.png\" alt='Chrome browser showing a JavaScript alert popup with the message \"Hello World\".' class=\"wp-image-133943\"  sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h2 class=\"wp-block-heading\" id=\"h-what-are-the-advantages-of-javascript\">What are the advantages of JavaScript?<\/h2><p>The primary advantage of JavaScript is its <strong>ability to create rich, interactive user interfaces that run directly in the browser<\/strong>. This client-side execution leads to several key benefits.<\/p><ul class=\"wp-block-list\">\n<li><strong>Simplicity<\/strong>. JavaScript has a relatively simple syntax inspired by languages like <strong>Java<\/strong> and <strong>C<\/strong>, making it one of the easiest <a href=\"\/ca\/tutorials\/best-programming-languages-to-learn\">programming languages for beginners to learn<\/a> and read.<\/li>\n\n\n\n<li><strong>Speed<\/strong>. Since it runs on the client side, JavaScript can provide an immediate response to user actions without a round trip to the server. For instance, when you fill out a contact form and enter an invalid email address, the instant error message you see is JavaScript at work &ndash; no need to wait for the page to reload.<\/li>\n\n\n\n<li><strong>Versatility<\/strong>. Originally designed for front-end development, JavaScript is now used everywhere. It can power back-end servers with <strong>Node.js<\/strong>, create mobile apps for iOS and Android with frameworks like <strong>React Native<\/strong>, and even build desktop applications with <strong>Electron<\/strong>.<\/li>\n\n\n\n<li><strong>Popularity<\/strong>. JavaScript has a massive and active community. According to the <a href=\"https:\/\/survey.stackoverflow.co\/2025\/technology#most-popular-technologies-language\" target=\"_blank\" rel=\"noopener\">2025 Stack Overflow Developer Survey<\/a>, it remains the most used programming language. For developers, this means if you ever get stuck, a solution is likely just a quick search away on a forum or in a tutorial.<\/li>\n\n\n\n<li><strong>Reduced server load<\/strong>. By handling tasks in the browser, JavaScript reduces the work your server has to do. The same form validation example applies here: the user&rsquo;s browser checks for errors first, so the server only processes valid submissions, saving significant resources.<\/li>\n\n\n\n<li><strong>Constant updates<\/strong>. ECMA International regularly updates the language through the ECMAScript specification, adding new features and improving functionality. For example, the <strong>ES16<\/strong> update introduced methods like <strong>Set.intersection<\/strong>, <strong>Set.difference<\/strong>, and <strong>Set.symmetricDifference<\/strong>, which let developers quickly compare sets and handle unique data more efficiently.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-what-are-the-disadvantages-of-javascript\">What are the disadvantages of JavaScript?<\/h2><p>The main disadvantage of JavaScript is that <strong>its client-side execution can introduce security vulnerabilities and browser inconsistencies<\/strong>.<\/p><ul class=\"wp-block-list\">\n<li><strong>Browser compatibility<\/strong>. Different web browsers interpret JavaScript code slightly differently. Developers sometimes need to add extra code to keep websites working consistently across major browsers like Chrome, Firefox, and Safari.<\/li>\n\n\n\n<li><strong>Security<\/strong>. Because the code runs on the user&rsquo;s computer, attackers can exploit it for malicious purposes if developers don&rsquo;t secure the application properly. For instance, cross-site scripting (XSS) attacks can run harmful code in a client&rsquo;s browser when a website lacks proper safeguards.<\/li>\n\n\n\n<li><strong>Debugging challenges<\/strong>. Sometimes, an error in JavaScript code fails silently, meaning the script stops working without showing an error message. This makes finding and fixing bugs more difficult compared to some server-side languages.<\/li>\n<\/ul><h2 class=\"wp-block-heading\" id=\"h-what-is-javascript-used-for\">What is JavaScript used for?<\/h2><p>JavaScript is a versatile language with applications in nearly every area of software development, from the web browser to the server and beyond.<\/p><p><strong>Web and mobile app development<\/strong><\/p><p>Developers use JavaScript to <strong>build the front end of both websites and mobile applications<\/strong>. Modern frameworks like <strong>React<\/strong>, <strong>Angular<\/strong>, and <strong>Vue.js<\/strong> let them create complex, single-page applications (SPAs).<\/p><p>An SPA is a website that interacts with the user by dynamically rewriting the current page instead of loading entirely new pages from a server. This approach creates a faster, smoother user experience.<\/p><p>For mobile development, frameworks like <strong>React Native<\/strong> and <strong>NativeScript<\/strong> let developers write code once and deploy it as a native app on both iOS and Android, which saves significant development time.<\/p><p><strong>Web servers and back-end applications<\/strong><\/p><p>With the introduction of <a href=\"\/ca\/tutorials\/what-is-node-js\">Node.js<\/a>, developers often choose JavaScript to <strong>build fast and scalable back-end applications<\/strong>.<\/p><p>Node.js runs JavaScript on a server, handling tasks such as processing data, managing user authentication, and managing database communication.<\/p><p>Its non-blocking architecture makes it highly efficient. Node.js handles many user requests simultaneously without slowing down, making it ideal for real-time applications like chat apps and live data streams.<\/p><p><strong>Website interactive behaviors<\/strong><\/p><p>One of JavaScript&rsquo;s original and most important uses is <strong>adding interactive behaviors to websites<\/strong>. Examples include clickable dropdown menus, animated sliders, and interactive forms that validate input instantly.<\/p><p>JavaScript also lets parts of a web page update without a full reload.<\/p><p>Using a method called <a href=\"\/ca\/tutorials\/what-is-ajax\">AJAX<\/a>, it fetches data from the server in the background, creating the seamless experiences you see on platforms like Google Maps or when social media feeds update automatically.<\/p><p><strong>Game development<\/strong><\/p><p>JavaScript also <strong>powers browser-based games<\/strong>. Combined with HTML5&rsquo;s <strong>&lt;canvas&gt;<\/strong> element and graphics-rendering technologies like <strong>WebGL<\/strong>, developers can build complex 2D and 3D games that run directly in the browser without plugins.<\/p><p>Many popular web games, including the viral puzzle game <strong>2048<\/strong>, use these technologies.<\/p><h2 class=\"wp-block-heading\" id=\"h-popular-javascript-frameworks-and-libraries\">Popular JavaScript frameworks and libraries<\/h2><p>JavaScript&rsquo;s ecosystem includes thousands of frameworks and libraries that <strong>provide pre-written code to help developers build applications more quickly and efficiently<\/strong>.<\/p><p><strong>React<\/strong><\/p><p>Developed and maintained by Meta, <a href=\"\/ca\/tutorials\/what-is-react\">React<\/a> is a front-end library for building user interfaces. Its main innovation is a component-based architecture, which lets you build complex UIs by combining small, isolated pieces of code called components.<\/p><p>Think of it like building with Lego bricks &ndash; each brick is simple on its own, but you can combine them to create anything. This approach makes code highly reusable and easier to manage, which is why React is extremely popular for developing SPAs.<\/p><p><strong>Angular<\/strong><\/p><p>Angular is a comprehensive front-end framework developed and maintained by Google. Unlike React, which is just a library for the UI, Angular is a full-featured platform.<\/p><p>It provides a structured set of rules and tools for building large, enterprise-scale applications. Angular uses <strong>TypeScript<\/strong>, which adds type checking to JavaScript to help catch errors during development.<\/p><p><strong>Vue.js<\/strong><\/p><p>Vue.js stands out for its simplicity and approachability. Many developers consider it the easiest of the &ldquo;big three&rdquo; (React, Angular, Vue) for beginners to learn.<\/p><p>Vue is a progressive framework, meaning you can use it to enhance a small part of an existing website or scale it up to build a complex SPA from scratch. Its flexibility and excellent documentation have made it a favorite among many developers.<\/p><p><strong>Node.js<\/strong><\/p><p>Unlike the others, Node.js is not a front-end framework. It is a back-end runtime environment that runs JavaScript on a server. Before Node.js, developers could only use JavaScript in the browser.<\/p><p>Now, developers use Node.js to build entire web servers, create APIs, and connect to databases, all with the same language they use for the front end. This ability to use one language for both client and server is a major advantage.<\/p><p><strong>jQuery<\/strong><\/p><p>Popular with the motto &lsquo;write less, do more,&rsquo; <a href=\"\/ca\/tutorials\/what-is-jquery\">jQuery<\/a> was incredibly influential for many years. It simplified tasks like handling events, animating elements, and making API requests.<\/p><p>While modern frameworks like React and Vue have replaced jQuery in most new projects, millions of existing websites and content management systems (like WordPress) still rely on it.<\/p><p>It&rsquo;s less common in new development but remains an important part of JavaScript&rsquo;s history.<\/p><p>Additionally, if you want to improve application performance, consider exploring <a href=\"\/ca\/tutorials\/best-javascript-compilers\">JavaScript compilers<\/a>. Tools like <strong>Babel<\/strong> and <strong>ReScript<\/strong> can optimize code, reduce file sizes, and improve execution speed.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-is-javascript-different-from-other-programming-languages\">How is JavaScript different from other programming languages?<\/h2><p>A key difference is that <strong>JavaScript functions primarily as an interpreted scripting language for browsers, while many other popular languages compile code and run mainly on servers<\/strong>.<\/p><p>The table below compares JavaScript with other common languages, including <strong>Java<\/strong>, <strong>PHP<\/strong>, <strong>Python<\/strong>, and <strong>C#<\/strong>:<\/p><figure tabindex=\"0\" class=\"wp-block-table\"><table><tbody><tr><td><strong>Feature<\/strong><\/td><td><strong>JavaScript<\/strong><\/td><td><strong>Java<\/strong><\/td><td><strong>PHP<\/strong><\/td><td><strong>Python<\/strong><\/td><td><strong>C#<\/strong><\/td><\/tr><tr><td><strong>Execution<\/strong><\/td><td>Runs in browsers or on servers (with Node.js)<\/td><td>Runs on the Java Virtual Machine (JVM)<\/td><td>Runs on servers<\/td><td>Runs on servers<\/td><td>Runs on the .NET Framework<\/td><\/tr><tr><td><strong>Typing<\/strong><\/td><td>Dynamically typed<\/td><td>Statically typed<\/td><td>Dynamically typed<\/td><td>Dynamically typed<\/td><td>Statically typed<\/td><\/tr><tr><td><strong>Compilation<\/strong><\/td><td>Interpreted (just-in-time compilation in modern browsers)<\/td><td>Compiled to bytecode<\/td><td>Interpreted<\/td><td>Interpreted<\/td><td>Compiled<\/td><\/tr><tr><td><strong>Primary use<\/strong><\/td><td>Interactive front end, back-end servers, mobile apps<\/td><td>Enterprise-level apps, Android apps<\/td><td>Web development, content management systems<\/td><td>Web development, data science, AI, automation<\/td><td>Windows apps, game development, web services<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\" id=\"h-how-can-you-start-using-javascript-on-your-website\">How can you start using JavaScript on your website?<\/h2><p>Now that you understand what JavaScript is, the next logical step is to put that knowledge into practice. The way you add JavaScript to a website depends on the platform you&rsquo;re using. We have two guides to help you get started:<\/p><ul class=\"wp-block-list\">\n<li><strong>WordPress users<\/strong>. If your site runs on a CMS like WordPress, you&rsquo;ll typically add scripts using plugins or your theme&rsquo;s functions. Our guide on <a href=\"\/ca\/tutorials\/wordpress-javascript\">adding JavaScript to WordPress<\/a> explains best practices for doing this safely.<\/li>\n\n\n\n<li><strong>Static websites<\/strong>. If you&rsquo;re working directly with HTML files, you&rsquo;ll need to know where and how to place your code using the <strong>&lt;script&gt; <\/strong>tag. To learn the fundamentals, start with our tutorial about <a href=\"\/ca\/tutorials\/add-javascript-to-html\">how to add JavaScript to HTML<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript (JS) is a lightweight, interpreted scripting language that creates dynamic and interactive content on websites. It handles everything from simple animations and interactive maps to complex web applications. While HTML provides the structure and CSS adjusts the styling, JavaScript makes websites responsive to user actions. Understanding JavaScript requires familiarity with its core elements: If [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ca\/tutorials\/what-is-javascript\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":115,"featured_media":139716,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"What is JavaScript? A beginner\u2019s guide to JS basics","rank_math_description":"Learn JavaScript basics, syntax, features, and uses. This beginner-friendly guide also covers popular JS frameworks and advantages.","rank_math_focus_keyword":"what is javascript","footnotes":""},"categories":[22656,22658],"tags":[],"class_list":["post-10466","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website","category-website-development"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/what-is-javascript","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/tutoriais\/o-que-e-javascript","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/qu-est-ce-que-javascript","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/que-es-javascript-introduccion-basica","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/apa-itu-javascript","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/what-is-javascript","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/what-is-javascript","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/what-is-javascript","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-es-javascript","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-es-javascript","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/que-es-javascript","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/pt\/tutoriais\/o-que-e-javascript","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/what-is-javascript","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/what-is-javascript","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/what-is-javascript","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/what-is-javascript","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/10466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/comments?post=10466"}],"version-history":[{"count":40,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/10466\/revisions"}],"predecessor-version":[{"id":138662,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/posts\/10466\/revisions\/138662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media\/139716"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/media?parent=10466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/categories?post=10466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ca\/tutorials\/wp-json\/wp\/v2\/tags?post=10466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}