String.prototype.toString.js 224 B

123456789
  1. try {
  2. assert(String.prototype.toString.length === 0)
  3. assert("".toString() === "");
  4. assert("hello friends".toString() === "hello friends");
  5. console.log("PASS");
  6. } catch (e) {
  7. console.log("FAIL: " + e);
  8. }