29
loading...
This website collects cookies to deliver better user experience
JavaScript as a dynamically typed language implies that there is a lack of type checking, we can store any type of value inside a variable and later reassign a value of another type to the same variable, errors due to inconsistency in types are only discovered at run time; when our code is being executed.
JavaScript as a scripting language is not meant to be compiled before it is executed, however JavaScript code is compiled on the fly directly in the browser by what is known as a JIT (Just In Time) compiler, It makes more sense to compile our JavaScript code because the modern JavaScript app is robust and may need to run for several hours in the browser.
JavaScript supports the use of both OOP and functional programming paradigm, although it is to note that JavaScript is not a full fledged OOP language in that it lacks the use classes and interfaces. JavaScript uses prototypes for inheritance although it supports the four pillars of OOP.
JavaScript is also an asynchronous language in that we can start something at some point, pause it and do other tasks, later return to finish the first task, it achieves this with the help of the event loop and call stack which we will look at later in this series, you should also know that JavaScript runs on a single processor core.
ctrl
+ shift
+ i
. It will bring up the developer tools. Select the console
tab if it is not already selected for you, and let's write a welcome program. Enter the following in the console and press enter!!console.log("Hello World");