https://lodash.com/Direct hit scene
Are you still worrying about converting, matching, and finding data in JavaScript? A bunch of seemingly simple foreach, but long boring, but still keep repeat it! Perhaps you have already used underscore.js, good, you have progressed very big step. But today I want you to take a step further and replace underscore with Lodash.
Lodash started as a fork in the Underscore.js library because of disagreement with o
Flow is a static type checking tool for JavaScript that is produced by Facebook. Its code is hosted on top of GitHub and is compliant with the BSD open source protocol.
About Flow
It can help us catch common bugs in JavaScript development without needing to modify your original code, such as static type conversion, null reference, and so on.At the same time, Fl
Javascript Debugging Tool Firebug Use details sometimes, in order to see the output information more clearly and conveniently, we may need to group some debugging information into the output, You can then use Console.group to group the information and end the grouping with Console.groupend after the group information output is complete.
Let's test the 4 output as a packet output and modify the code to:Copy
An Open-source tool for encrypting JavaScript PACKER2.0.2
This is not a very complex coding tool, after coding can be directly recognized by the browser. Sina is using. For example:http://comment4.news.sina.com.cn/comment/cmnt_xml.jsFrom here into the http://dean.edwards.name/packer/, a very simple interface.Setup is also simpleNumeric (Base 10): All characters
Before the project needs to write a pure JS text comparison tool, in this small series to share the code in the cloud Habitat Community Platform for everyone's reference, the algorithm needs to be optimized, this article is not good yet please forgive me.
First up Effect chart:
The code looks like this:
Save the source code in HTML format files can be run directly
The above code is the use of pure J
For students who have just started to learn JS, it is highly recommended to use Chrome developer mode directly, which is super convenient.Open a Web page, start the developer mode to write JS code, do not create new HTML and JS files can see their own written JS code resultsAs follows:Even Console.log (), can not be able to see the output results, is not very convenient.How to turn on developer mode: Just open a page, right-click in the blank, and tap check-click ConsoleThen you can start to hap
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.