Skip to content

Commit

Permalink
Morse
Browse files Browse the repository at this point in the history
Forgot to remove debug code :(
  • Loading branch information
ghluka committed Apr 27, 2024
1 parent 0a87ede commit eb7e590
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions techdemos/encode/js/encoders/morse.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ function decodeMorse(code) {

for (const sequence of code.split(" ")) {
for (const [key, value] of Object.entries(morse)) {
console.log(value)
console.log(sequence)
if (sequence == value) {
text += key;
}
Expand Down

0 comments on commit eb7e590

Please sign in to comment.