I see many examples using the class keyword but this is just an abstraction over prototype manipulation.
I wrote an example using what I call an "old school class" : https://hegel.js.org/try#GYVwdgxgLglg9mABAcQE4FN1XagFGAQwFt0BKRAbwChFEoALGAZwDpCTEBeRd9KgXypU0mbKhYAHVHCgyAnhPQsA5hixdEoSLAS5y1WhARM4AGyWm4y3AAMAEulOXEAEgoNmbYun4BCG6QCQkZgTFCIyhpg6ADuKGpiuABEAOpwqKYAJkmByioJekA
I looks like Hegel does not have the concept of function context and its prototype, which I believe is still very common in Javascript.
Although, I find this project very interesting and I am eager to see it evolve.