Home »
MCQs »
KnockoutJS MCQs
In the code given below, string refers to which type of variable this.String = ko.observable('Enter String');?
12. In the code given below, string refers to which type of variable
this.String = ko.observable("Enter String");?
- Model
- View
- ViewModel
Answer: C) ViewModel
Explanation:
String refers to the ViewModel variable.