http://qs321.pair.com?node_id=156851


in reply to Re: Adult learning problem
in thread Adult learning problem

A good way to get to know splice better is to re-implement push, pop, unshift and shift with it.
A good way to get to know substr better is to create push/pop/unshift/shift functions for strings.

Often, a good way to learn is re-inventing the wheel. I'd rather re-invent a wheel than greet the world.

U28geW91IGNhbiBhbGwgcm90MTMgY
W5kIHBhY2soKS4gQnV0IGRvIHlvdS
ByZWNvZ25pc2UgQmFzZTY0IHdoZW4
geW91IHNlZSBpdD8gIC0tIEp1ZXJk