Typescript and JavaScript which languages are more advancedThe most popular technology stack of the last two years without controversy is JavaScript, with the popularity of ES6, whether from the front-end browser, or the back-end of the Nodejs scene,
1 reserved words at a glanceAbstractBoolean Break byteCase catch Char class const continueDebugger Default Delete do doubleelse enum Export extendsFalse final finally float for functionGotoIf implements import in Instanceof int interfaceLongNative
Asynchronous Operations KnowledgeIn the JS world, asynchronous operation is very popular, Nodejs is characterized by asynchronous non-blocking.The asynchronous syntax supported by the JS language includes, Promise async await generator yield.These
JavaScript Data type:There are 5 different types of data in JavaScript:
String
Number
Boolean
Object
function
3 Types of objects:
Object
Date
Array
2 data types that do not contain any values:
var i = 1;Open a space named I, and store a value of 1.var li = document.getElementsByTagName (' li '); for (var i = 0; i ) { li[i].addeventlistener (' click ',function(e) { alert (i);} }When you click on Li, the alert results in the same
There is a ul,ul inside a few Li, if you need to click on Li to print out this Li corresponding index number how to do?The first ideas are: Spring summer Autumn winter The results found that the click of Spring, Summer, autumn,
First, the functionA function should return only one type of value.The function has a default array variable, arguments, that stores all parameters passed into the function.In order to use function parameters conveniently, it is recommended to give
Listen to the 18 teacher's "JavaScript advanced" course, a note of this in JavaScript!Four ways to call functions in JS:1. When invoked as a normal function, the value of this is pointed to the window, and in the ECMASCRIPT5 standard, if this is
A regular expression is a pattern that is used to match the combination of characters in a string. In JavaScript, the regular expression is also an object. This pattern can be used for the REGEXP exec and test methods as well as the match, replace,
Use position: sticky to implement sticky layout, positionsticky
What are the values of the position attribute in CSS?Most people answer: Which of the following are the answer?
{ position: static; position: relative; position: absolute;
(1) Study Notes for the entries of Baidu frontend Technical College in the spring of 2017 and those for the second quarter of 2017
Last year, I made an IFE question. This year, I joined the competition with people. Here, I wrote some notes to
Usage and difference between jq stop () and is (: animated) (detailed description), jqanimated
Stop (true, true ):
It indicates that the animation of the matching element is stopped, the animation is redirected to the final state, and the animation
JS implements the edit and SAVE Function example of a single button Based on The onclick event, jsonclick
This article describes how to edit and save a single button Based on The onclick event in JS. We will share this with you for your reference.
The applet references methods in other js, And the applet js
In the applet, we can know the directory structure of the applet in the Official development documentation.
A applet page consists of four files. The four files on a applet page share the
Css3 3d transformation and animation-Review and css33d transformation Review
1. The transform-style attribute specifies how the nested primitive is rendered in 3D space.Syntax: transform-style: flat | preserve-3dFlat indicates that all child
Parent element collapse
When designing the webpage layout, it will certainly use floating, but there will also be a problem in the use process, that is, the parent element collapse problem. Let's take a look at the Code:
Document
JQuery creates the image rotation effect, and jquery creates the Rotation
I used JQuery to write an image rotation effect in depth. Here I will share it with you and paste an image to see how it works:
The implementation principle is not complex.
Nodejs basic applications and nodejs Basics
I. First nodejs Application
N1_hello.js
console.log('hello word!');
Execute the file in command line cmd (Open command line in the file ):
Node nw.hello.js
The command line cmd returns the result:
Hello
JQuery table maintenance and deletion operations
Recently I learned about jQuery and can use js functions to maintain and Delete tables, which is simple and convenient compared with JavaScript.
First, let's take a look at the implementation results
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service