我想问一下knockout.js源代码中声明的目的。谢谢你。
ko.observable = function (initialValue) {
var _latestValue = initialValue;
function observable(newValue) {
return _latestValue;
}
observable.__ko_proto__ = ko.observable; **// <-- what's the purpose of this line??**
ko.subscribable.call(observable);
return observable;
}