Correct stripNewline function

This commit is contained in:
Damian Tarnawski
2023-10-06 20:11:25 +02:00
parent ea8d3d4531
commit ab2907cd51

View File

@@ -10,7 +10,7 @@ function getElement(name) {
}
function stripNewline(str) {
return str.replace(/\n$/, ' ')
return str.replace(/\n/, ' ')
}
class WasmMemoryInterface {