- Code: Select all
var string = "white,blue,red,green";
var myArray = new Array(string);
var lastelement = myArray.pop();
application.output(lastelement); // produces "white,blue,red,green" when I expected just "green".
var string = "white,blue,red,green";
var myArray = new Array(string);
var lastelement = myArray.pop();
application.output(lastelement); // produces "white,blue,red,green" when I expected just "green".
Return to Programming with Servoy
Users browsing this forum: No registered users and 4 guests