http://www.ruanyifeng.com/blog/2012/07/three_ways_to_define_a_javascript_class.html 转载于:https://www.cnblogs.com/jin41/archive/2013/04/30/3051906.html