Fix issue #15

See [marijnh/Eloquent-JavaScript/issues/15](Issue #15) on the main repo.