Students who have been using it for a long time Reactshould know that Reactthere are two components in: Now that classes and functions are mentioned , it is natural for us […]
JavaScript
Implement a streamlined version of Pac-Man mini game in 348 bytes
Today I will share a @aemkeiPac-Man mini-game with only 348 bytes produced by some big guys. As shown in the animation above, it basically realizes the […]
A brief analysis of ArrayList
by emanjusaka from https://www.emanjusaka.top/2023/12/java-arrayList What can you do if the flowers on the other side bloom?This article welcomes sharing and aggregation. Please leave the original address […]
Simplified version of handwritten promise ideas
Constructorconstructor(executor) resolveand rejectfunction then(onFulfilled, onRejected) Chained calls and asynchronous execution Error handling catch(onRejected) This SimplePromiseclass implements thenand catch, but does not implement Promiseall the functions of , such as Promise.all, Promise.race, Promise.resolve, Promise.rejectand other […]
Customizing javascript runtime – Part 1: Prerequisite knowledge
The front-end guy compiled a tutorial on customizing JavaScript runtime based on v8. In this part, I will first review the relevant pre-requisite knowledge. 1 […]
Based on Egg.js secondary encapsulation framework, one-click installation, useful information is available
Install npm i egg-bag-framework Built-in multiple modules, middleware and tools Source code address ,demo address middleware Verify whether the Sing signature is legal to prevent arbitrary […]
The next generation of Vue3 Devtools is officially open source
What is Vue DevTools Vue DevTools is a tool designed to enhance the Vue developer experience. It provides features to help developers better understand Vue […]
JavaScript’s double-bit NOT operation (~~)
Today I will introduce the double-bit NOT operation in JavaScript ~~. ~~The operator is a powerful and often overlooked feature. It provides a fast, concise way to […]
How to implement theme switching in JavaScript
In this article, you will learn how to JavaScriptbuild a theme switcher in . This should be a no-brainer, but you might also learn something from […]
18 JavaScript Tips: Write Clean and Efficient Code
In this article, I will share 18 JavaScript tips, as well as some sample code you should know to write concise and efficient code. let’s […]