My code was working until i updated node.js to version 8.11.3
Now i always get error \"callback argument must be a function\" when trying to call a function with setTim
Yes, setTimeout() expects first argument as callback function. we can make use of es6 fat arrow function here you can try this!
setTimeout(() => testFunction(itemid, price), 100);
Hope this helps!