This article was originally sent to my personal blog, after several changes put on the csdn, mainly to do backup, in order to better read the experience, please go to my personal blog read.Recently work has been using NODEJS to do development, with
1) Intro
Not long ago I set up a technology group in a MM asked a question like this, she posted the code as follows:
var a = 1;function hehe (){Window.alert (a);var a = 2;Window.alert (a);}Hehe ();
The results of the execution are as follows:
12.3 use Java in Javascript
Using JavaScript, you can use Java Applet, plug-ins, andHierarchical links are organically linked with various web elements, including images.
Javascript uses an array of Applet objects called applets to access Java
This article mainly introduces classes in JavaScript in detail. This article describes the definition of classes in JavaScript, Constructor (Constructor) in JavaScript, and Class name, for more information about how to use Class in JavaScript, see
This article mainly introduces classes in JavaScript in detail. This article describes the definition of classes in JavaScript, Constructor (Constructor) in JavaScript, and Class name, for more information about how to use Class in JavaScript, see
Introduction to mathematical operations in JavaScript and mathematical operations in javascript
In JavaScript, mathematical operations can be achieved through two operations:
1. +,-, *,/, %, and other operators.2. Use the computing functions of the
This article explains the this keyword in JavaScript using the image explanation. What does JavaScriptthis point? You can get the desired answer from this article. For more information, see JavaScript as a scripting language. It supports functional
This keyword in JavaScript is illustrated, and javascriptthis
JavaScript is a scripting language that supports functional programming, closures, prototype-based inheritance, and other advanced functions. JavaScript seems to be easy to get started at
Understanding prototype in javascript and this in javascript
I have never been very familiar with prototype in javascript. Today, after reading javascript advanced programming, I finally understood prototype. To briefly summarize the content learned
Although JavaScript is a weakly typed language, it also has several data types of its own, namely number, String, Boolean, Object, udefined, and Null. Where object belongs to a complex data type, object is made up of unordered key-value pairs. The
1, the object in JavaScript. JavaScript can be said to be an object-based programming language, why it is object-based rather than object-oriented, because JavaScript itself only implements encapsulation, and does not implement inheritance and
Because of the nature of its run-time bindings, this meaning in JavaScript is much richer, and it can be a global object, the current object, or any object, depending on how the function is called. The invocation of a function in JavaScript has
This document is translated from JavaScript ' s zerosJavaScript has both zeros:? 0 and +0. This post explains, why, and where it matters in practice.There are two "0" in JavaScript:-0 and +0. This article explains why, and points out the impact of
Use of Regular Expressions in Javascript and basic syntax,
Previous
Regular expressions may be a bunch of incomprehensible characters in people's minds, but these symbols implement efficient string operations. Generally, the problem is not
Usage of call (), apply (), bind () in javascript, applybind
Functions in JavaScript are not only a language function similar to methods in Java, but can also exist as objects. This article will discuss some special usage of functions in JavaScript,
Describes several methods for implementing inheritance in JavaScript (recommended), and details in javascript
ECMAScript only supports implementation inheritance, and its implementation inheritance mainly relies on the prototype chain.
Prototype
All objects in JavaScript are objects. This refers to objects in the traditional sense, that is, "a single entity that contains state and behavior ". For example, an array in JavaScript contains several values and contains objects of the push,
In JavaScript, an object is a basic data type. It is a hash in the data structure and can be seen as an unordered set of attributes. Everything except the original value is an object. This article mainly introduces the creation objects of JavaScript
Main Content: What are the general mode closures used by closure closures? This article is the second article in my JavaScript advanced series. in this series, I plan to analyze some common and mysterious advanced content in JavaScript, including
All objects in JavaScript are objects. This refers to objects in the traditional sense, that is, "a single entity that contains state and behavior ". For example, an array in JavaScript contains several values and contains objects of the push,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.