pass by reference not working using 2d array variable

ساخت وبلاگ
Hi,

I am passing an empty 2d array in a function. Function is storing some value in the 2d array. But when the function returns, I can't print that value. Following is my code:
const path = require("path");
const fs = require("fs");
module.exports = async function(callback)
{
try {
let argStr = [[],[]]
let argStr2 = "address to, uint amount"
find_the_arguments(argStr, argStr2)
console.log("outside argStr[0][0]"+argStr[0][0])
console.log("outside argStr[0][1]"+argStr[0][1])...
Code (JavaScript):
pass by reference not working using 2d array variable WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 151 تاريخ : سه شنبه 10 خرداد 1401 ساعت: 11:57