Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

KnockoutJS Array

Please checkout this JS Bin
http://jsbin.com/iqikuf/3/edit


When the below is run in the console, the result shown makes sense to me.
statement: vd.tools.push(dataItem);
resuelt: 2

But why do we get the below results when run in the console?
statement: vd.tools.length
result: 0
0
GriffisJ
Asked:
GriffisJ
  • 2
1 Solution
 
Sar1973Commented:
Does the command .isNullo exist? I knew .isNull instead...and .IsNullOrEmpty
0
 
GriffisJAuthor Commented:
parentheses needed

vd.tools().length
0
 
GriffisJAuthor Commented:
simple concise answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now