I have a Single Page Application that uses knockout for the data binding. The CAApproval.html view in my single page application has an observeablearray named AllCertificates i
to initialize an array variable
self.allCertificates = ko.observableArray([])
to remove all the value of array
self.allCertificates.removeAll()