Angular - TypeScript in Angular
Given the interface and code below, what will be the output of
console.log(user.age)?
interface User {
name: string;
age: number;
}
const user: User = { name: 'Anna', age: 30 };
console.log(user.age);