freeze<T extends Function> method

T freeze<T extends Function>(
  1. T f
)

Prevents the modification of existing property attributes and values, and prevents the addition of new properties. @param f Object on which to lock the attributes.

Implementation

T freeze<T extends _i2.Function>(T f) => _i6.callMethod(
      this,
      'freeze',
      [f],
    );