JSFiddle - React, Tailwind, and code Playground

by Anton Spirin

JavaScript

function f(a, b) {
  alert( this );
  alert( a + b );
}


 try {     
  var h = f.call('test2');
  h(1, 2);
} catch (e) {
  alert(e);
}