It is possible in Javascript (ECMAScript) to do classical single inheritance nested to any depth, without any caveats.
This article concisely explores the mechanism in depth, including flaws in other approaches, internal Javascript algorithms, proper OOP data encapsulation with default constructors, and an optimized inheritance declaration syntax with both Object and Function prototype convenience methods.
B. Jury, A. Lorusso, J. Leinonen, P. Denny, and A. Luxton-Reilly. Proceedings of the 26th Australasian Computing Education Conference, page 77–86. New York, NY, USA, Association for Computing Machinery, (Jan 29, 2024)
J. Savelka, A. Agarwal, M. An, C. Bogart, and M. Sakr. Proceedings of the 2023 ACM Conference on International Computing Education Research - Volume 1, volume 1 of ICER '23, page 78–92. New York, NY, USA, Association for Computing Machinery, (Sep 10, 2023)
M. Liffiton, B. Sheese, J. Savelka, and P. Denny. Proceedings of the 23rd Koli Calling International Conference on Computing Education Research, page 1–11. New York, NY, USA, Association for Computing Machinery, (Feb 6, 2024)
M. Ota, M. Ikeguchi, and A. Kidera. PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 101 (51):
17658-17663(December 2004)