Sample code



Ref: JS Tutorial