rauschma / exploring-js

20 stars 0 forks source link

Chapter: Exception handling #42

Open rauschma opened 5 years ago

VernonHawk commented 5 years ago

22.3.2. The finally clause Let’s look at a common use case for finally: You have created a resource and want to always destroy it when ~your~ you are done with it – no matter what happens while working with it.

A typo, I guess?

rauschma commented 5 years ago

@VernonHawk Yes! Fixed in next release.

adolfopa commented 3 years ago

The test call_function_test.mjs:11 has a misleading name:

test('monthToNumber', () => {

Shouldn't it be callFunction for consistency with other tests?

rauschma commented 2 years ago

@adolfopa True! Fixed in next release.