Last active
May 17, 2024 07:11
-
-
Save Kcko/3f96dde1152e6b2707045886465bfb48 to your computer and use it in GitHub Desktop.
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
/* | |
function in javascript is object and we can store what ever inside | |
*/ | |
function x() | |
{ | |
console.log('im x') | |
} | |
x.$version = '1.3.21' | |
x.callback = () => { console.log('what ever')} | |
console.log(x.$version); | |
x.callback(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment