Last active
February 27, 2020 19:28
-
-
Save omarkdev/a657f8831ed299ba7cb477c0ec8043f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 log(prefix) { | |
return target => { | |
console.log(`${prefix} - ${target}`); | |
} | |
} | |
@log('Awesome') | |
class Foo {} | |
// Awesome - function Foo() { | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment