Skip to content

TypeScript Handbook

Yongku cho edited this page Dec 13, 2020 · 5 revisions

https://www.typescriptlang.org/docs/handbook/basic-types.html

Boolean

let isDone: boolean = false;

Floating point numbers

부동 소수점

let decimal: number = 6;
let hex: number = 0xf00d;
let binary: number = 0b1010;
let octal: number = 0o744;

BigIntegers

bigint

let big: bigint = 100n;
Clone this wiki locally