mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 07:45:00 -04:00
Update InvertingCharactersCase.mjs
This commit is contained in:
parent
e8913d152d
commit
ddd6055800
1 changed files with 4 additions and 4 deletions
|
@ -33,8 +33,8 @@ class InvertingCharactersCase extends Operation {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
var result = "";
|
let result = "";
|
||||||
for(var i = 0; i < input.length; i++){
|
for (let i = 0; i < input.length; i++) {
|
||||||
result += this.checkAndChangeCase(input[i]);
|
result += this.checkAndChangeCase(input[i]);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue