chore(lint): Clean up ROT13.mjs as per linter request

This commit is contained in:
LaraClara 2024-04-05 15:25:03 +10:00
parent 2e1f746957
commit 3926e412e0
No known key found for this signature in database
GPG Key ID: E5CAA94190787E02
1 changed files with 4 additions and 4 deletions

View File

@ -57,12 +57,12 @@ class ROT13 extends Operation {
const output = input,
rot13Lowercase = args[0],
rot13Upperacse = args[1],
rotNumbers = args[2];
let amount = args[3],
chr;
rotNumbers = args[2],
amount = args[3];
let chr,
amountModified;
if (amount) {
let amountModified;
for (let i = 0; i < input.length; i++) {
amountModified = amount;
chr = input[i];