title: javascript: what's the difference between a function and a class
body: <p>I am wondering what's the difference between function and class.
   Both using the keyword function, is there obvious distinction between those two?</p>