2. What is JavaScript | Complete JavaScript Tutorials

visibility 1 조회수 schedule 5년 전 timer 3:45
open_in_new Dailymotion
<br />So let's get started with this course and with everything you need to know about JavaScript by diving<br />into this important question what is javascript.<br />Let's have a look at a couple of definitions.<br />JavaScript is a dynamic weakly typed programming language which is compiled at runtime.<br />It can be executed as part of a web page in a browser or directly on any machine in a so-called host environment.<br />Not entirely clear yet.<br />Let's have a look at an additional definition.<br />Javascript was created to make Web pages more dynamic.<br />That's kind of the idea why javascript was invented in the past you could say more about the history<br />of JavaScript in a second by the way.<br />So it was invented to change the content on a page directly from inside the browser.<br />And originally it was called life script but due to the popularity of Java back at the time it was renamed<br />to javascript to resemble Java by its name.<br />Javascript however is totally independent from Java.<br />That's important to understand and has nothing in common.<br />It really was just named javascript because while Java was popular and well people who invented javascript<br />want the javascript to be a thing I guess but I'm not sure are these definitions really clear.<br />Do you now know what javascript is.<br />Does dynamic weakly typed compiled at runtime make web pages more dynamic.<br />Does this tell you something.<br />Well let's take a step back maybe.<br />How do web pages work you are the user visiting a Web page and when you do visit a web page you use<br />browser for that you use your client your machine your laptop your computer where you have a browser<br />installed on it.<br />You enter a you are L or click on a search result on Google and the web page gets loaded.<br />To be precise when you initially visit a Web page a request is sent to the server.<br />So to a computer in the Internet where dad web page where the H him l file is hosted and that server<br />then loads that web page and sends it back to your browser in a so-called response at the most basic<br />form of