Object.seal

Prevents the modification of attributes of existing properties and the addition of new properties.

Syntax

seal(object)

Parameters

Return value

The object that was passed to the function.