1 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;