JSFiddle - React, Tailwind, and code Playground

by Eugen Sunic

JavaScript

/* const obj = {
  that: this,
  a: 'something',
  func: () => {
    console.log(obj.that);
  }
}

obj.func(); */



obj1 = {
  a: 'something',
  b: 'nesto'
}


Object.freeze(obj1)

obj1.c = 'bum';
console.log(obj1);
console.lkog('was there')