Setinterval

Hey guys, I have a quick question on the setinterval function.

I’m sure i’ve seen it coded somewhere that instead of having it run a function that you define something like this:

intervalId = setInterval(hdahds,x) = function(){

}

does anyone know anything about this?

thanks :p: