[Javascript] Understand Curry

NoSuchKey