JSFiddle - React, Tailwind, and code Playground

by sstur

JavaScript

function updateValue(args) {
    args[1] = 3;
}

function example(a, b) {
    updateValue(arguments);
    console.log(a, b);
}

example(1, 2);