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 489 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Write a unit test for the DataService in AngularJS1
How to get the parent element of a child element in AngularJS1
What are directives in AngularJS?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 is AOT in AngularJS ?,AOT is better than JIT for production ;1
What are the lifecycle hooks in AngularJS?0
Create a new AngularJS project