angular current year
// In component file
export class SomeComponent {
currentYear: number = new Date().getFullYear();
}
// In HTML file
<div> {{ currentYear }}. All rights reserved </div>
Also in JavaScript:
- pa mmj portal
- same file select angular second time not selected
- js array map
- create an observabloe js
- first letter capital in javascript
- How to hthe amount of users online in discordjs
- jquery check if all checkbox is not checked
- javascript get array value
- several node versions
- how to code a discord bot in javascript
- javascript console log
- nativescript vue back button handler
- javascript void(0) href
- declare * angular jquery
- appendchild multiple elements
- how to read 2 dimensional array in javascript
- button click event listener angular
- get form data as object jquery
- js remove if
- javascript string interpolation
- jquery AND operation
- how to comment out code in react js
- react grid
- nodemailer