logo

Crowdly

Browser

Add to Chrome

Розробка сучасних вебзастосунків на платформі Node.js

Looking for Розробка сучасних вебзастосунків на платформі Node.js test answers and solutions? Browse our comprehensive collection of verified answers for Розробка сучасних вебзастосунків на платформі Node.js at learn.ztu.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Node.js

Який з цих рядків спричинить помилку компіляції TypeScript?

interface User {

readonly id: number;

name: string;

age?: number;

}

const u: User = { id: 1, name: 'А', createdAt: new Date() } as any;

100%
0%
0%
0%
0%
View this question

Node.js

Що виведе .catch()?

fetchUser(1)

.then(u => { throw new Error('bad'); })

.then(x => console.log('x', x))

.catch(e => console.log('caught', e.message));

View this question

Want instant access to all verified answers on learn.ztu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome