{"version":3,"sources":["../../../src/php/strings/chop.js"],"names":["module","exports","chop","str","charlist","rtrim","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,IAAT,CAAeC,GAAf,EAAoBC,QAApB,EAA8B;AAC7C;AACA;AACA;AACA;;AAEA,MAAIC,QAAQC,QAAQ,kBAAR,CAAZ;AACA,SAAOD,MAAMF,GAAN,EAAWC,QAAX,CAAP;AACD,CARD","file":"chop.js","sourcesContent":["module.exports = function chop (str, charlist) {\n // discuss at: http://locutus.io/php/chop/\n // original by: Paulo Freitas\n // example 1: chop(' Kevin van Zonneveld ')\n // returns 1: ' Kevin van Zonneveld'\n\n var rtrim = require('../strings/rtrim')\n return rtrim(str, charlist)\n}\n"]}