JavaScript » Layer » resizeBy

Syntax:
layer.resizeBy(horizPixels, vertPixels)

This method is used to resize the layer by the specified horizontal and vertical number of pixels.