bhbs commited on
Commit
9c21935
·
unverified ·
1 Parent(s): 2bea6b4

wasm : fix typo in helper.js (#459)

Browse files
Files changed (1) hide show
  1. examples/helpers.js +1 -1
examples/helpers.js CHANGED
@@ -8,7 +8,7 @@ function convertTypedArray(src, type) {
8
 
9
  var printTextarea = (function() {
10
  var element = document.getElementById('output');
11
- if (element) element.alue = ''; // clear browser cache
12
  return function(text) {
13
  if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(' ');
14
  console.log(text);
 
8
 
9
  var printTextarea = (function() {
10
  var element = document.getElementById('output');
11
+ if (element) element.value = ''; // clear browser cache
12
  return function(text) {
13
  if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(' ');
14
  console.log(text);