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