Project, use JavaScript to convert numbers to uppercase amounts, share them to everyone
12345678910111213141516171819202122232425262728293031323334
var digitUppercase = function(n) { var fraction = [‘角‘, ‘分‘]; var digit = [
First, JavaScript overviewJavaScript Concepts-JavaScript is an interpreted scripting language that runs in JavaScript interpreter/engine-JavaScript interpreter as the operating environment of JS script, like the next two rendering methods-Standalone
The development environment used is webstrom+node.jsJavaScript Creation methodfunction Method (x) {//Create constructor this. x=x; } var New Method (1); // get Method object with new keyword and constructor when creating Next,
Fifth Chapter9. Function functions1) There are two special objects inside the function:(1) Arguments (mainly used to save function parameters, there is an attribute callee, which is a pointer to the function that owns the arguments object), but in
Summarize:
JS all functions have a prototype attribute that refers to an object, the prototype object, or a prototype. This function includes constructors and normal functions, and we speak more of the prototype of the constructor, but we
Object: Memory space in memory where multiple data or methods are saved, representing the result of saving multiple properties and methods in the program.There are three ways of creating objectsMethod an object Direct quantity (an object)// Create
With the gradual and powerful browser, most of the code debugging can be done by the browser to bring some debugging tools to solve. However, for some special cases still can not enjoy the browser's powerful debugging capabilities, such as QQ client
modularity : Closures and function scopes (JS without block-level scope ES6) Construction module1 varman=function(){2 varAge=12;3 return {4GetYear:function(){5 returnAge ;6
I. GrammarJS has only one numeric type, 64-bit floating-point number, so 1 and 1.0 are the same. Why this design: Prevent short-integer overflow.Two. Object 1. An assignment method that typically assigns the value of an object to another variableif (
The cut is a technique that removes unnecessary characters from the source code, making it look simple and neat. This technique is also known as code compression and minimization. Here we have collected 10 best JavaScript compression tools for you
Check [pitfalls] in the regular expressions in javascript and brackets in the regular expressions.
When using regular expressions in javascript, you need to pay attention to a pitfall in brackets, that is, the metacharacters in brackets. I stepped
A simple understanding of the encapsulation and inheritance features in JavaScript, javascript features
Encapsulation in JavaScriptIn simple terms, encapsulation allows the outside world to only access the common variables and functions of objects,
Javascript achieves drag-and-drop effect on PC web pages, and javascript drag-and-drop
A few years ago, I participated in the design and development of a real estate network project. I was in charge of front-end work. Due to the high requirements of
Implicit JavaScript conversions and implicit javascript Conversions
The JavaScript data type is very weak (otherwise it will not be called a weak type language )! When Arithmetic Operators are used, the Data Types on both sides of the operators can
The basic idea of writing crawlers in Node. js and sharing examples of capturing Baidu images. The basic idea of node. js
In fact, the idea of writing crawlers is very simple:
Send HTTP requests according to certain rules to obtain the HTML
CSS3 scroll bar-webkit-scrollbar, css3
Webkit now supports the area with the overflow attribute, the list box, the drop-down menu, and the custom style of the textarea scroll bar.
If you want to skip the introduction and view the demo directly,
Javascript html5 mobile terminals can easily upload files, and html5 can easily implement
Most of the files uploaded on the PC end are plug-ins, and it does not matter if flash is introduced. However, if the Mobile End still uses a variety of
Js implements array Bubble sorting, fast sorting principle, js Array
This article shares the implementation principles of js array Bubble sorting and quick sorting for your reference. The details are as follows:
1. Bubble Sorting:
Take a single
JavaScript uploads files asynchronously.
Asynchronous file upload is required for better user experience and is required by each front-end. Here I propose three methods for asynchronous file upload.
Use third-party controls, such as Flash, ActiveX,
Node. js Firebird Database tutorial, node. jsfirebird
Firebird is a cross-platform relational database system that currently runs on Windows, linux and a variety of Unix operating systems, providing most of the SQL-99 standard features. It can be
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