0554bd25b610fb76b74973c94286d04707d8bfe1aac83c98249882ccf00173a8dba01f6b82a635674f09ffb207d3049dd01983e8f9d167761dd86b2c858a80 336 B

1234567891011
  1. 'use strict';
  2. var fails = require('../internals/fails');
  3. // check the existence of a method, lowercase
  4. // of a tag and escaping quotes in arguments
  5. module.exports = function (METHOD_NAME) {
  6. return fails(function () {
  7. var test = ''[METHOD_NAME]('"');
  8. return test !== test.toLowerCase() || test.split('"').length > 3;
  9. });
  10. };