I want a public function to take an array and append it to another array. I am having problems with example.push(_inputArray);
it says example has no function push.
but example.push("Hello") works
I want a public function to take an array and append it to another array. I am having problems with example.push(_inputArray);
it says example has no function push.
but example.push("Hello") works
As far as I know you can not do what I asked.
instead use a for loop
for (uint i = 0; i < _inputArray; i++) {
passwordExecutive.push(_inputArray[i]);
}