Created
July 1, 2022 02:40
-
-
Save Kadreev/42b6e9feec1fc18239f18f7c55e1c068 to your computer and use it in GitHub Desktop.
functions in object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let voleur = { | |
action : () =>console.log ('Coup de dague fatal') , | |
crie : ('pour la horde!!!!') , | |
coupfatal :()=> console.log ('coup dans le dos') | |
} | |
voleur.action() ; | |
voleur.coupfatal() ; | |
console.log(voleur.crie) ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment