Created
June 28, 2019 15:41
-
-
Save intrnl/e60dffaba71c4362de041c2b77fe3a9a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function stripBOM (content) { | |
return content.charCodeAt(0) === 0xFEFF ? content.slice(1) : content | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment