It's described in all JunOS Release Notes, by example
Release Notes: Junos OS Release 23.4R2 / Migration, Upgrade, and Downgrade Instructions
For both standard EOL and EEOL releases, you can upgrade to the next three subsequent releases or downgrade to the previous three releases.
For EEOL releases only, you have an additional option - you can upgrade directly from one EEOL release to the next two subsequent EEOL releases, even if the target release is beyond the next three releases. Likewise, you can downgrade directly from one EEOL release to the previous two EEOL releases, even if the target release is beyond the previous three releases.
So from the EEOL 21.4 (R-whatever) you can directly go for the EEOL 22.4 (R-whatever).
Therefore the path is 21.4 -> 22.4 -> 23.4.
------------------------------
Olivier Benghozi
------------------------------