What modernizer scripts exist for the new ECMAScript 5 functions?
问题 ECMAScript 5 has quite a few nice additions. John Resig has a good overview here. Here is a good ECMAScript 5 compatibility table. A lot of this stuff can be "faked" for browsers that don't support these functions yet. Do you know of any scripts that can do this? I'm particularly interested in Object.create. For example, Douglas Crockford's JSON script checks if JSON functions exist before creating them. If there was more like the JSON one we could include them when we need to use the new