In the javascript array can pay plus variables and arbitrary and word string
Var Stre [" DSF + id]="name";//in the javascript array can add variables and pay any word string
alert (Stre [" DSF + 1] ");//output
The can't be in c + + Builder like javascript arrays can be "plus variables and arbitrary and pay a string"
CodePudding user response:
C + + subscript as long as the final results to the naturalCodePudding user response:
Javascript it is not in a ratioCodePudding user response:
Reply: ksrsoftWhat "this cannot be on a piece of"
Unclear what you mean
CodePudding user response:
Typedef mapMyarray on;
Typedef mapJsarray;
Myarray on Myarray on;
Jsarray Jsarray;
Myarray on [" DSF "]=1;
Jsarray [myarray on]="name";
CodePudding user response:
Typedef mapMyarray on;
Typedef mapJsarray;
Myarray on Myarray on;
Jsarray Jsarray;
Myarray on [" DSF "]=1;
Jsarray [myarray on]="name";
There is a slip of pen
CodePudding user response:
Javascript can be defined through assignment data type, C must first define types, and then to the assignment