Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

javascript

  1. link
  2. 相关
    • 网景公司Netscape Communications - Navigator浏览器 - JavaScript
    • Microsoft - JScript
    • European Computer Manufacturers Association (ECMAScript)
  3. chrome console: right click, inspect, console
  4. 偏见
    • 所有语句必须添加;
    • 禁止使用==,建议使用===,不建议使用=====不会自动类型转换,数据类型不一致返回false
    • undefined用于在判断函数参数是否传递,其余情况都使用null
    • 必须使用'use strict';
    • 禁止对字符串下标赋值,虽然不报错
    • 禁止对数组越界下标赋值,禁止修改数组length属性
  5. 变量名:大小写字母、数字,$_,非数字开头,非关键字
  6. 字符串是不可变的

nvm

  1. link
nvm install 21 #install before use it
nvm list
nvm use 21
nvm alias default node

npm list -g --depth 0 #list gobal installed package
npm install -g yarn
npm uninstall -g yarn

mermaid-cli

  1. link
  2. install
    • npm install -g @mermaid-js/mermaid-cli
mmdc -i input.mmd -o output.svg

input.mmd

mindmap
Root
    A
      B
      C