Année d'affichage JavaScript Copyright
<script>document.write(new Date().getFullYear())</script>
Encouraging Eland
<script>document.write(new Date().getFullYear())</script>
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
const year = new Date().getFullYear()
<p> "The current year is " + year </p>
<p>Copyright © <script>document.write(new Date().getFullYear())</script> Your Name All Rights Reserved</p>