const

The keyword 'const' was added in ECMAScript 2015 and can be used as an alternative to 'var'.
A variable declared using "const" has block scope.
This variable cannot be reassigned


const myDate = '20.06.1978';  
const COLOR-RED = '#F00'


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext