JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<body>
<div id=1>
<div id=2>
<div id=3>
</div>
</div>
</div>
</body>
</html>
JavaScript
function foo(a, b, c) {
a++;
b="New String";
c["key"]= "new Vlaue"
}
var a = 1, b="old string", c={"key": "old value"}
foo(a,b,c)
console.log(a)
console.log(b)
console.log(c)