Skip to main content

install_private_methods

Function install_private_methods 

Source
pub fn install_private_methods(proto: &Value, inst: &Value)
Expand description

InitializeInstanceElements step 1 (15.7.14): give inst every private method and accessor of the class whose prototype is proto, before any field initializer runs. They are held on the class prototype as a template; the instance’s own copy is what the brand check finds.