is-implemented.js 259 B

123456789
  1. "use strict";
  2. module.exports = function () {
  3. var raw = String.raw, test;
  4. if (typeof raw !== "function") return false;
  5. test = ["foo\nbar", "marko\n"];
  6. test.raw = ["foo\\nbar", "marko\\n"];
  7. return raw(test, "INSE\nRT") === "foo\\nbarINSE\nRTmarko\\n";
  8. };