JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<div id="result"></div>
<div id="result2"></div>
<div id="result3"></div>

JavaScript

function A(){}
A.prototype.namespace = { a : 1, b : 2, c : 3};
var a = new A();
a.namespace = {b : 2};


$(function(){
	$("#result").html("a : " + JSON.stringify(a));
  $("#result2").html("a.prototype : " + JSON.stringify(Object.getPrototypeOf(a)));
  $("#result3").html("a.c :" + JSON.stringify(a.c) );
})