We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0926cb9 commit 0c5de1fCopy full SHA for 0c5de1f
doc/api/smalloc.markdown
@@ -44,7 +44,7 @@ possible options are listed in `smalloc.Types`. Example usage:
44
var doubleArr = smalloc.alloc(3, smalloc.Types.Double);
45
46
for (var i = 0; i < 3; i++)
47
- doubleArr = i / 10;
+ doubleArr[i] = i / 10;
48
49
// { '0': 0, '1': 0.1, '2': 0.2 }
50
0 commit comments