JavaScript programmers to share the good web front end in the end is what? What are the features?

  Good programmers web front-end share JavaScript in the end is what? What are the features? It is also becoming web content front-end engineers will learn. Today, as we share this article on JavaScript article, we take a look .

 

  A, JavaScript What is ?

 

  1 , JavaScript is running on the web browser programming language.

 

  Mainly using HTML and CSS add a site to build and implement various pages dynamic effects play a role. For example, such an effect on the carousel map page impressions style and prompt information displayed after the wrong input in the consultation platform. Also for the purchase of goods inside the mall site, use the shopping cart and cost estimates also need to use JavaScript . So even if it is less obvious, but still is a language coders often used.

 

  2 , JavaScript is a versatile development language.

 

  In addition to adding to the usefulness of the action pages, JavaScript can also be used for many other functions. For example, it is possible to develop a variety of Web applications, such as "chat" and "currency charts," and so on, can be modified in real time, which is the JavaScript one of the main charm.

 

  Two, JavaScript what are the features ?

 

  1 , scripting language. JavaScript is an interpreted scripting language, C , C ++ implementation of the first compilation and other languages, but JavaScript is interpreted line by line during the operation of the program.

 

  2 , based on the object. JavaScript is an object-based scripting language, it can not only create objects, also can use an existing object.

 

  3 , simple. JavaScript language used is weakly typed variable type, data type to use is not made stringent requirements, it is based on the Java scripting language basic statements and control, and its design is simple and compact.

 

  4 , dynamic. JavaScript is an event-driven scripting language, it does not require the Web server can respond to user input. When accessing a page, the mouse down or mouse click on a web page, move, and so the window JavaScript can directly give an appropriate response to these events.

 

  5、跨平台性。JavaScript脚本语言不依赖于操作系统,仅需要浏览器的支持。因此一个JavaScript脚本在编写后可以带到任意机器上使用,前提上机器上的浏览器支持JavaScript脚本语言,目前JavaScript已被大多数的浏览器所支持。

 


Guess you like

Origin blog.51cto.com/14573321/2451282