Nodejs Utililty Methods Array Insert

List of utility methods to do Array Insert

Description

The list of methods to do Array Insert are organized into topic(s).

Method

insert(value)
Array.prototype.insert = function(value) {
  if(this.root == null) {
    this.root[1] = value; 
var heap = []; 
heap.insert(30);
console.log(heap);