Close or not so much so translation of Eloquent Javascript