WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead. See sjs-4: remove.

File.prototype.remove()

Remove a file.

Syntax

file.remove()

Description

Remove a file with its entire subtree. Links are not followed.

Examples

Basic example.

Subscribe to our newsletter!