Created
January 1, 2019 16:46
-
-
Save JuanjoSalvador/c933046745492fbdb0b43ecbab48e14c 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
const copyright = () => { | |
return `© ${new Date().getFullYear()} ${HOLDER}` | |
} |
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
<head> | |
<script src="./copyright.js"></script> | |
<script> | |
const HOLDER = "Juanjo Salvador" | |
</script> | |
</head> | |
<footer> | |
<script> | |
copyright() | |
</script> | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment