JSFiddle - React, Tailwind, and code Playground

by antimojv

Babel + JSX

'use strict'
const sam = Object.freeze({name : "Sam", age:2 ,nested: {anotherLevel: 4}});

console.log(sam);

//sam.age = 3; //Shallow free First  level is freeze
sam.nested.anotherLevel = 5;
console.log(sam);