We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1b8d26 commit a68f248Copy full SHA for a68f248
CWE-20/main.js
@@ -1,5 +1,3 @@
1
const endsWith = (x, y) => {
2
return x.lastIndexOf(y) === x.length - y.length
3
}
4
-
5
-endsWith('x', 'xx')
CWE-312/main.js
@@ -4,5 +4,3 @@ const main = (key, value) => {
item[key] = value
sessionStorage.setItem('vulnerable', JSON.stringify(item))
6
7
8
-main('password', 'password')
0 commit comments