3 ms·
A circular array type, love it! It looks like an excellent use case of proxies.
by lioeters 8y ago
A circular array type, love it! It looks like an excellent use case of proxies.
- flashgordon 8y agoTechnically the type should still be an Array with the backing implementation having a circular array behavior no?
- lioeters 8y agoIndeed, it extends native Array: https://github.com/philbooth/hoopy/blob/master/index.js#L3 https://github.com/philbooth/hoopy/blob/master/index.js#L3