typescript integer
// There is no int type, use number
const myInt: number = 17;
const myDecimal: number = 17.5;
typescript integer
// There is no int type, use number
const myInt: number = 17;
const myDecimal: number = 17.5;
typescript array
let list: number[] = [1, 2, 3];
data type angular
let decimal: number = 6;
let hex: number = 0xf00d;
let binary: number = 0b1010;
let octal: number = 0o744;
let big: bigint = 100n;Try
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us