- Redefining :
Const ==> Constant : Cannot be reassign. Example :
const name='Romain';
name='Thomas'
console.log(name) ==> Error
Const cannot be reassigned but can be manipulated
Const ==> Constant : Cannot be reassign. Example :
const name='Romain';
name='Thomas'
console.log(name) ==> Error
Const cannot be reassigned but can be manipulated
Example :
0=='0' //==> True
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
init(){ | |
that =this; | |
async function run() { | |
await that.createIsoFromCurrentDay() | |
await that.checkIfEvent() | |
await that.getOlderEvent() | |
await that.orderEventsByTime() | |
} | |
run() | |
} |
arrayDayEvents.length == 0 | |
? (this.noEvent = true) | |
: (this.noEvent = false) | |
Shorter Version | |
this.noEvent = arrayDayEvents.length == 0 | |