JSFiddle - React, Tailwind, and code Playground

by Amresh Venugopal

JavaScript

var selector = 'b';

var f = (function () {

	var selector = 'a';
  var someFunc = (a) => ((a || 1) * 5);
  
	return {
  	methA: someFunc
  }

} ());

console.log(f.methA());
console.log(selector);