JK flip flop PRESET and CLEAR function
If Preset and Clear are asynchronous, they will be effective regardless of the state of the clock.

If you set "Clear" active, the flip-flop will be cleared immediately regardless of the state of the clock, and will remain clear if the clock changes while Clear is held active.

A synchronous Set or Clear will only set or clear the flip-flop on an appropriate clock edge.