Hard
Given the following code:
type Foo = {
readonly bar: number;
bas: number;
}
let foo: Foo = { bar: 123, bas: 456 };
foo.bar = 18;
foo.bas = 10;
What will this code produce?
Author: Mathieu RobinStatus: PublishedQuestion passed 504 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
0
Generate a component.,The generated element will be imported/declared in the ui-tools module.,The test (*my-widget.component.spec.ts*) and template (*my-widget.component.html*) files will be created on the fly.1
What are the lifecycle hooks in AngularJS?1
What are directives in AngularJS?1
What is AOT in AngularJS ?,AOT is better than JIT for production ;0
Create a new AngularJS project1
Write a unit test for the DataService in AngularJS1
How to get the parent element of a child element in AngularJS