JavaScript 中常用的代码规范 (如:Airbnb, Standard, Google)?

推荐答案

-- -------------------- ---- -------
-- ----

- ---------- --------------

-- -------- ---------- ----- -------  
   - -------- ---------- ----------------
   - ------------- ---- --------- ----
   - ---- ------ -- ------ ----

-- ---------- ----  
   - ----------------------
   - ---------------------
   - ---------------------

-- -------- ---------- ----- -------  
   - -- ------ ----- ---------- -----
   - ---- --- - ---- ------------
   - ----------------

-- ------

--- ------ ---------- ----- -----
- ------------- ----------------- ----- ----------
- ------------------------------ ----- ------
- ------------- ------ - ---------------------- ----------

--- -------- --
- --------------- -- ------------------------------
- --------------------------
- ------------- ---------- -----------

--- ------ ---------- ----- -----
- ------------- --------------------
- -----------------------------
- ------------- ------ - ---------------------- ----------

--- ----
- -------------------- ----- ------
- ---------- --------------------
- -----------------------------
纠错
反馈