mirror of
https://github.com/Aviortheking/IMIE_CQ.git
synced 2025-07-12 23:35:10 +00:00
vous n'avez rien vu
This commit is contained in:
19
test.js
19
test.js
@ -1,19 +0,0 @@
|
||||
this.test = 'pouet'
|
||||
|
||||
console.log(this.test) // retourne 'pouet'
|
||||
|
||||
const fn2 = function() {
|
||||
console.log(this.test) // retourne undefined
|
||||
this.pokemon = 'go'
|
||||
}
|
||||
fn2()
|
||||
|
||||
console.log(this.pokemon)
|
||||
|
||||
const fn = () => {
|
||||
console.log(this.test) // retourne 'pouet'
|
||||
this.pokemon = 'go'
|
||||
}
|
||||
fn()
|
||||
|
||||
console.log(this.pokemon)
|
Reference in New Issue
Block a user