empty

Empties the array.

Example - working with empty method

<script>
  var arr = new kendo.data.ObservableArray([10, 15, 20, 25, 30]);

  arr.empty()
  /* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(arr)
</script>
In this article