it's a task ID (I prefer to think it's a task_ID rather than a Timeout_ID that confuses everyone).
imagine you have to launch a default function : "f_cup_of_tea", that any normal individual would end up needing after 5 minutes on your website. :
tea_Task_ID = window.setTimeout(f_cup_of_tea, (5*60*1000), 15, 2);
like:
function f_cup_of_tea(milk_ml, sugar) { .... }
but unfortunatly, with ten second late, a psychadelic user prefer to get something different than the entire world, and choose a bad_tequila...
you must cancel the delicious " f_cup_of_tea " scheduled within five minutes ...
fortunately javascript have thinking of this kind of problem and you can use :
window.clearTimeout(tea_Task_ID);
(but it woorks only if " f_cup_of_tea " are not yet started).
next, you can launch :
tequila_Task_ID = window.setTimeout(f_bad_tequila, (5*1000), 0); // for in 5s, with zero ice...