Mindblown: a blog about philosophy.
-
Javascript comments
We usually use JavaScript comments for explaining JavaScript code and making it more readable. They also can be used to prevent execution during testing alternative code. There are exists two types of comments: single line comments and multi-line comments. The example which you see here uses a single-line comment before each code line: We use…
-
Start using Javascript
Writing Your First JavaScript Program HTML can’t do the math, it can’t figure out if someone has correctly filled out a form. HTML just let people read the text, watch videos, look at pictures, and click links. You need JavaScript to add intelligence to your web pages so they can respond to your site’s visitors.…
-
What improvement JavaScript has?
There have been several versions of JavaScript programming language. ECMAScript version 3 was the most supported version between 2000 and 2010. Version 4 planned a number of radical improvements and extensions to the language, but it wasn’t done. Then version 5 came out, which made only some uncontroversial improvements, coming out in 2009. Version 6…
-
Why to use JavaScript?
Today, JavaScript is one of the most powerful, popular, and flexible programming languages. It provides dynamic behavior on most websites. JavaScript is used by the overwhelming majority of modern websites. JavaScript interpreters are included in all modern web browsers—on desktops, game consoles, tablets, and smartphones. This makes JavaScript the most ubiquitous programming language in history.…
-
Why is it called JavaScript?
JavaScript programming language was developed by Brendan Eich in 1995. When JavaScript was created it was known as LiveScript. Netscape changed its name to JavaScript. Important to know that JavaScript has almost nothing to do with the programming language called Java. The JavaScript name was inspired by marketing considerations. The Java programming language was being…
-
What is JavaScript?
JavaScript is a high-level, dynamic, lightweight, interpreted computer programming language. It’s designed for creating network-centric apps. It has made modern web apps possible— apps with which you can interact directly without doing a page reload for every action. It’s also used in more traditional websites to provide different forms of interactivity and cleverness. JavaScript is…
-
What Makes JavaScript Specific
There are at least three perfect things about JavaScript: It supports complete integration with CSS and HTML. It provides straightforward ways of doing simple things. It is supported by almost all the major browsers and is performed by default. It is the exclusive browser technology that encompasses the three great things above. In modern programming, JavaScript is…
-
Limitations of In-browser JavaScript
The capabilities of JavaScript are limited for the purpose of keeping the user’s safety. With it, an evil web page can’t access private information or harm the user’s data. Here are some examples of such restrictions: JavaScript has no direct access to OS functions. It can’t read and write arbitrary files on the hard disc,…
-
What In-browser JavaScript Does
Modern JavaScript is considered a safe programming language. It never provides low-level access to the memory or CPU as it was made for the browsers that don’t require it. The capabilities of this language highly rely on the environment it runs in. For example, Node.js includes functions allowing JavaScript to write and read arbitrary files,…
-
Defining JavaScript
JavaScript is a scripting or a programming language, allowing developers to perform complex features on web pages. Initially, this language was created for making web pages alive. In JavaScript, the programs are called scripts. One can write them in the HTML of a web page, then it will automatically run once the page loads. At this point,…
Got any book recommendations?