Javascript Object log()

Description

Javascript Object log()


Object.prototype.log = function() {
        console.log(this)/*from   w ww  .  jav a 2  s .  c  om*/
        return this
}

Javascript Object log()

Object.prototype.log = function() {
    console.log(this);/*ww  w . j av  a 2  s .  co  m*/
}



PreviousNext

Related