Using code format?

1 view
Skip to first unread message

Faustino Rodriguez

unread,
Nov 1, 2018, 9:19:51 AM11/1/18
to MS Testing
Find a small function below

function ArrTest(){
var fruits = ["Banana", "Orange", "Apple", "Mango"];
   
Logger.log("before " + fruits.length);


fruits
.splice(2, 0, "Lemon", "Kiwi");
   
Logger.log("after " + fruits.length);
}


Then, keep writing 
OK?



Reply all
Reply to author
Forward
0 new messages