0
   

I am a beginner in Java script and want to know about few lines of code

 
 
Reply Fri 17 Mar, 2017 08:34 am
var input =store ["cemboard-queryExecutor-333374"];
var test = input[0];
console.log(test);
var smsarr = [" NEISMSRecieve_Failure_Network_Perc_Cont_Sum","NEISMSRecieve_Failure_Subscriber_Perc_Cont_Sum","NEISMSSend_Failure_Network_Perc_Cont_Sum","NEISMSSend_Failure_Subscriber_Perc_Cont_Sum"];
var sum="";
for(var i = 0; i < smsarr.length-1 ; i++)
{
console.log([smsarr]);
console.log("**");
console.log(input[0]);
sum = sum + input[0][smsarr];
console.log(sum);
}

I am getting undefined value in sum . and i am not able to understand what is store and how it is defined.
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 425 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » I am a beginner in Java script and want to know about few lines of code
Copyright © 2019 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 10/16/2019 at 08:46:41