mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
5 lines
120 B
JavaScript
5 lines
120 B
JavaScript
function test() {
|
|
let loc = window.location.href;
|
|
$('<a href="' + encodeURIComponent(loc) + '">click</a>'); // OK
|
|
}
|