External Brain

Home

❯

3.code

❯

javascript

❯

Basics

❯

JS Basics

JS - Basics

May 13, 20261 min read

JS - Basics

This map contains the basic JavaScript concepts needed before working with functions, arrays, DOM, and async code.

Values and Input

  • User’s input in JS
  • Type conversion in JS
  • Math in JS
  • Random number in JS

Conditions

  • if statement
  • Switches in JS
  • Ternary operator
  • Checked property
  • Logical operators
  • Strict equality operators

Scope

  • Variable scope (作用阈)

Strings

  • String methods in JS
  • String slicing in JS
  • Method chaining

Loops

  • While loop
  • For loop

Practice

  • Number guess game example (猜数字游戏案例)

Related

  • JavaScript
  • JS - Functions
  • JS - Arrays and Functional Methods

Graph View

  • JS - Basics
  • Values and Input
  • Conditions
  • Scope
  • Strings
  • Loops
  • Practice
  • Related

Backlinks

  • Type conversion in JS
  • JavaScript

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community