Below I have tested the new features in JavaScript 1.8.1. The code below is also run immediately as you load the page, so you will see the actual results as well. Below each test is the web browsers it works in, and the minimum version of it required.
More information about JavaScript 1.8.1
var obj = {},
newObj = {};
newObj.prototype = obj.prototype;
Result: FAILED
3.5+
5.0+
var someString = " Monkeys like bananas ", someStringTrimmed = someString.trim();
Result: FAILED
3.5+
5.0+
var someString = " Monkeys like bananas ", someStringTrimmedLeft = someString.trimLeft();
Result: FAILED
3.5+
5.0+
var someString = " Monkeys like bananas ", someStringTrimmedRight = someString.trimRight();
Result: FAILED
3.5+
5.0+