Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 219257

Re: After splitting a string the length of the result is Cannot read property "length" from null (vRO 7)

$
0
0

Hi,

 

On line 8, you are assigning null to the inputTokens variable, instead of comparing the variable value with null. For comparison, it should be == instead of =

 

if ( inputTokens == null ){ 

 

 

Argh. JavaScript noob error.

 

Thanks. That fixed my problem.

 

How do I mark this question as answered?


Viewing all articles
Browse latest Browse all 219257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>