Type initialization

//"const" for constants and
//"let" for variables

//Int
let num: number = 42, otherNumber = 37
const maxInt64 = Number.MAX_VALUE
const Mb = 1_048_576

//Double
const exp = 2.71828
let billion = 1E+9

//Float
const pi = 3.14

//String
const greeting: string = "Hello"

//Multiline String
let text = "this is some\n" +
"multiline text"

let multiLine = `this is some
multiline text`

//Bool
const sunIsStar: boolean = true
let earthIsStar = false

//Character "A"    
const charA = '\u0041' //'A'

let multiType: string | number = 'text'
multiType = num

console.log("Mb is", Mb)
console.log("multiType is", multiType)
console.log("charA is", charA)