JavaScript An array with two numbers -


Suppose, I want an array and every array I would like the numbers in that array, like

Test [1] Output [2,1] or whatever.

I know that I only assign two numbers to a decimal such as "|" and this output would be "2 | 1" but I wanted to know whether there was an official way of adding two different numbers to an array element ...

< Arrays can also be used as value:

  var test = [[4,  


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -