finally ... (Statement)

Part of the try ... catch ... finally error-handling mechanism.

Availability:

ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0

The ECMAScript standard (edition 2) defined the finally keyword and reserves it for future use. At edition 3, it was made a required keyword.

In anticipation of that, it is available in JavaScript version 1.4. This is also now supported in JScript version 5.0 as well.

Refer to the try ... catch ... finally topic for more details.

Warnings:

See also:catch( ... ), throw, try ... catch ... finally

Cross-references:

ECMA 262 edition 2 - section - 7.4.3

ECMA 262 edition 3 - section - 7.5.2

ECMA 262 edition 3 - section - 12.14