mirror of
https://github.com/Aviortheking/IMIE_CQ.git
synced 2025-04-22 19:02:13 +00:00
vous n'avez rien vu
This commit is contained in:
parent
ad05c139ed
commit
ecfb12a548
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)
|
Loading…
x
Reference in New Issue
Block a user