Correct stripNewline function

This commit is contained in:
Damian Tarnawski committed 2023-10-06 20:11:25 +02:00
1 parent ea8d3d4531
commit ab2907cd51
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ function getElement(name) {
}
function stripNewline(str) {
return str.replace(/\n$/, ' ')
return str.replace(/\n/, ' ')
}
class WasmMemoryInterface {