JSFiddle - React, Tailwind, and code Playground JavaScript var a = {b:5}; function test(a){ a.b ++; } test(a) alert(a.b)