<h1>Execute Directly</h1>
<div id="satu"></div>
<div id="satu"></div>
<script>
var po = (function(){
var satu = document.getElementById('satu');
satu.innerHTML = 'Hello, Indonesia';
})(po); // or without 'po', it will be also run normally
</script>
GMgKe586q6suSQnyqZLlGCooeWM
No comments:
Post a Comment