Storage for JavaScript class