JSFiddle - React, Tailwind, and code Playground

by Saurabh Khemka

JavaScript

function test1() {

console.log(this)

}



var test2 = function(){

console.log(this)

}



var test3 = () => {

console.log(this)

}

test1();
test2();
test3();