Variables
val
val x = 1
Declare a constant value.
Used in replacement of const
.
var
, let
var x = 1
let y = 2
It's obvious.
val
val x = 1
Declare a constant value.
Used in replacement of const
.
var
, let
var x = 1
let y = 2
It's obvious.