Skip to content

Commit 38a8893

Browse files
author
Michael S
authored
Added document.write()
+ Direct document output for those online IDEs
1 parent 2fe8d41 commit 38a8893

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/Binary-Decimal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ for ( var i = 0; i < process.length; i++ ) {
4848
counter = 0;
4949
}
5050
}
51-
alert(process)
51+
alert(process)
52+
document.write(process)

0 commit comments

Comments
 (0)