nicolaspanel / numjs

Like NumPy, in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

console.log can not print the values

Honghe opened this issue · comments

commented

env:

  • Chrome 66

The doc says:

> var b = nj.array([[1,2,3], [4,5,6]]);
> b
array([[ 1, 2, 3],
       [ 4, 5, 6]])

but I can not print the values,
image

I think you have to use the .toString()

console.log(a.toString())