JSFiddle - React, Tailwind, and code Playground

by natarajgandhi

JavaScript

var add = function(a,b) {
  alert(a+b);
};
var add = 55;
add(1,2); // the variable add is now overwritten by the second declaration