JSFiddle - React, Tailwind, and code Playground

by abhijeet abanave

JavaScript

var numobj = { num : 2 };
var ty = [5,2,3,4];

var xyz = function (i) {
  
	return this.num + i;
};
var f = xyz.bind(ty)
console.dir(f);
console.log(f(1));
//console.dir(xyz.call(numobj,5))