samdenty / console-feed

Captures console.log's into a React Component 🔥
https://stackblitz.com/~/github.com/samdenty/console-feed
MIT License
662 stars 110 forks source link

console.log(this) is not working. #76

Open krishnagogada opened 3 years ago

krishnagogada commented 3 years ago
function sum(){
    console.log(this);
}

console.log(sum.prototype);

when I tried console.log(this) my app was crashed and I tried console.log(sum.prototype) printed empty like this sum{}