This is a really neat little script that can display the current time in “Military Time” or “12 Hour Time” with the push of a button. Give it a try, it’s neat!

Many people confuse about JavaScript array [] and object {}, so this tutorial will explain the difference in between JavaScript {} and []