JSFiddle - React, Tailwind, and code Playground

by austegard

JavaScript

window.foo = {bar: "expected"};
//if this bit was loaded through LAB in IE8, it appears it would alter the scope of foo
//here it does not
var foo = window.foo || {bar: "unexpected"};
document.write(foo.bar + "<br>");
document.write(window.foo === foo);