Created
January 13, 2022 17:31
-
-
Save joshjohanning/0887a010c03ca9bb87a9df6927fd7fe0 to your computer and use it in GitHub Desktop.
introduce code vulnerability in ghas
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 endsWith(x,y) { | |
let index = x.lastIndexOf(y); | |
return x.lastIndexOf(y) === x.length - y.length; | |
} | |
// comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment