Two major syntax catogories in JS Statement Expression We have expression statement but not statement expression because expression can sometime act as statements thus expression statement Expression Expression are js code snippets that results in ...
Markdown supported · ⌘↵ to post
Alex Sunny
Hello,
You can try it hope this will work.
function changeThatArray(arr) { arr[0] = 100; }
var sampleArray = [10,20,30]
console.log(sampleArray[0]); // 10
changeThatArray(sampleArray); ometv.onl chatroulette.top omegle.wtf bazoocam.cam console.log(sampleArray[0]); // 100
thanks alexsunny