ECMAScript 5.1 Object functions for JavaScript