9 lines
147 B
JavaScript
9 lines
147 B
JavaScript
exports = function(str) {
|
|
if (str.charCodeAt(0) === 0xfeff) {
|
|
return str.slice(1);
|
|
}
|
|
return str;
|
|
};
|
|
|
|
module.exports = exports;
|