The concept of 'done-ness' is not something that is often considered when writing functions in JavaScript — you end up just running out of data or a fun...