Regular expression {concise and easy to understand}

Why use regular expressions? Regular matching can realize fuzzy matching. In actual development, it is often necessary to match a certain range of data, such as verifying whether the mailbox entered by the user is correct; In addition to @ and other fixed characters, we can't measure and count the other characters we input. At this time, ther ...

Posted by Dollar on Wed, 24 Nov 2021 11:36:37 -0800

Learn fetch and start here

1, What is fetch()? fetch() is the browser's built-in global JavaScript method. It is used to issue http requests. It can be used directly without downloading and installing. // A simple http request fetch('http://example.com/movies.json') .then(function (response) { return response.json(); }) .then(function (myJson) { ...

Posted by snowrhythm on Wed, 24 Nov 2021 08:36:22 -0800

[JS reverse hundred examples] AES256 encryption analysis of Ether Rock airdrop interface

Focus on official account dry cargo WeChat public: K brother crawler, keep sharing crawler advance, JS/ Android reverse technology dry goods! statement All contents in this article are for learning and communication only. The packet capturing content, sensitive website and data interface have been desensitized. It is strictly prohibite ...

Posted by convinceme on Wed, 24 Nov 2021 05:52:57 -0800

Typeof Type Operator of TypeScript

prefaceThe official documents of TypeScript have already been updated, but the Chinese documents I can find are still in the older version. Therefore, some newly added and revised chapters are translated and sorted out.This article is compiled from "TypeScript Handbook" Typeof Type Operator "Chapter.This article is not translated ...

Posted by asmon on Wed, 24 Nov 2021 05:32:07 -0800

W3C standard induction

W3C standard induction reference resources: https://www.w3cschool.cn/xuexiw3c/xuexiw3c-standards.html 1. Discard font label In the future, we will discard the font tag. The new page should not appear again. For example, the existing old page should also be replaced as much as possible during modification. Alternative method: < span cl ...

Posted by zingbats on Wed, 24 Nov 2021 00:54:35 -0800

Front end learning notes: JavaScript classes and objects

Black horse Pink's advanced javaScript object-oriented ES6 tutorial: https://www.bilibili.com/video/BV1Kt411w7MP?p=1 Based on the original tutorial, this paper sorts and cuts the directory structure. This paper summarizes the explanations, cases, PPT and source materials in the video, which are only used for personal review, learning, communic ...

Posted by Bhaal on Wed, 24 Nov 2021 00:53:26 -0800

VUE Interview Questions Summary

Previous points here: ↓ Summary of VUE interview questions (I) 11. What is the difference between v-if and v-show Reference answer: The v-show instruction allows an element to be displayed or hidden by modifying the CSS attribute of its display The v-if instruction directly destroys and rebuilds the DOM to achieve the effect of ...

Posted by gofer on Tue, 23 Nov 2021 19:31:19 -0800

[vue3.0 actual combat step by step series] vue3.0 obtains the questionnaire results and outputs them to the console

preface Hello, guys, hello. Yesterday, we made a simple extension to the original voting function: we realized a simple questionnaire function. When implementing the questionnaire function, we encapsulated several different types of components: voting component, single choice component, multiple choice component, input component and scoring ...

Posted by dominicd on Tue, 23 Nov 2021 18:07:01 -0800

JavaScript object oriented

1 object oriented overview 1.1 process oriented and object-oriented Process oriented: process oriented is to analyze the steps needed to solve the problem, then implement these steps one by one with functions, and call them in turn when using. The core of process oriented is the process of solving problems. Object oriented: object orient ...

Posted by goldenei on Tue, 23 Nov 2021 11:10:51 -0800

Configuration instructions for eslint+prettier+husky

One, eslint Eslint specifies code that is syntactically biased. This article describes the eslint+prettier+husky configuration project code specification as a basic vue project. To better describe this article, I restored the default settings for vscode (i.e. no eslint,prettier plug-ins are installed, and no configuration is available in setti ...

Posted by Tomz on Tue, 23 Nov 2021 10:03:06 -0800