Is there a way to perform the javascript join function in a observableArray?
In javascript i can do the following:
var a = ["1", "2", "3"];
var p = a.join(',');
and p would be "1,2,3" but with knockout i cant found a way to do this action?
Is there a way to perform the javascript join function in a observableArray?
In javascript i can do the following:
var a = ["1", "2", "3"];
var p = a.join(',');
and p would be "1,2,3" but with knockout i cant found a way to do this action?
var x = ko.observableArray(["1", "2", "3"]);
var p = x().join(',');