impatient-js
impatient-js copied to clipboard
Chapter: Exception handling
trafficstars
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?
@VernonHawk Yes! Fixed in next release.
The test call_function_test.mjs:11 has a misleading name:
test('monthToNumber', () => {
Shouldn't it be callFunction for consistency with other tests?
@adolfopa True! Fixed in next release.