nhs-t10 / Robotics_2021_2022

2 stars 0 forks source link

Restructure how Autoauto properties work #50

Closed chlohal closed 2 years ago

chlohal commented 2 years ago

Right now, Autoauto's properties are "eih, tbh".

//this works
let e = 3, e.foo = 5, log(e.foo) //prints out 5
//this does NOT work
let e = 3, log(e.toString()) //will... cause an error? not sure, tbh

Why not implement something like Javascript's prototype chain?