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 6a7b582 commit 5645260Copy full SHA for 5645260
pseudocode.html
@@ -48,15 +48,18 @@ <h2 align="center">Pseudocode to JavaScript Compiler</h2>
48
}
49
function readline() {
50
let input = document.getElementById("input").elements["user_input"].value;
51
+ var input_read = "";
52
var more = input.indexOf(',', user_input);
53
if (more != -1) {
54
let begin = user_input;
55
user_input = more + 1;
- return input.substring(begin, more);
56
+ input_read = input.substring(begin, more);
57
58
else {
- return input.substring(user_input);
59
+ input_read = input.substring(user_input);
60
61
+ print(input_read);
62
+ return input_read;
63
64
</script>
65
<div class="window">
0 commit comments