Select the following Topics you are interested
Javascript Example is extracted from article "Javascript function closures and design of encapsulated javascript object and class " from Cloudgen's Javascript Laboratory
There is no detailed explanation for this example.
<script type="text/javascript">
var a="15";
function inner(){
var a="16";
}
inner();
document.write(a);
</script>
Output: