17 docs tagged with "JavaScript"
View All Tags「偽隨機」和「真隨機」的應用
認識生活中與隨機的應用(以遊戲為例)
5 Tips for Writing Cleaner Code
1. Avoid Unnecessary Nesting
Axios error handling
For APIs, the commonly defined backend structure is as follows:
Capacitor, Multi-Platform Support for JavaScript
Capacitor is a framework that helps you develop a native mobile app with JavaScript.
Clipboard API - Copy text to clipboard with JavaScript
該篇文章將會介紹如何使用 JavaScript 將文字複製到剪貼簿。
JavaScript Coding Style
Variables
New JavaScript Features in ES6 ~ ES12
New JavaScript Features in ES6 ~ ES12
Resource Hints - preconnect, dns-prefetch
HTML 中的 preconnect 和 dns-prefetch 属性介紹
Resource Hints - preload, prefetch
HTML 中的 preload 和 prefetch 属性介紹
Script Tag - async & defer
HTML 中的 Async 和 defer 属性介紹
Simplify your animations with Lottie now!
Use Lottie to create animations in your web apps or mobile apps.
Web Share API - Native Sharing is Easy!
This article explains how to use the Web Share API to share content on the web.
什麼是 Cookie?Web Storage 又是什麼?
在瀏覽器中,我們可以使用 Cookie 和 Web Storage 来存取資料。
前端 Vue API 順序
在 Vue 中,export default 對象中有很多約定的 API Key。每個人的順序排放都可能不一致,但保持統一的代碼風格有助於團隊成員多人協作。
前端 Vue 規範
文件命名 (kebab-case)
基于 JWT + Refresh Token 的用戶驗證
JWT在現在的網站中是非常常見的,但是在網站的開發中,我們需要設計一個方便的方式來驗證用戶的身份,這樣才能保證用戶的身份不被盜用。