ministruct
Small library to define strictly typed objects. Example:
var struct make type = ; var person = ; var bob = ;bobname = "Bob";bobage = 26;bobnicks = "bob1986" "sexybob" ; console; // Bob bobage = null; // OKbobnicks = null; // TypeError
Supported types: nil, array, object, number, string, func, regexp.