Pathpath.extname()Path operation: extname.path.extname() Path operation: extname. Syntax path.extname(...) Example path.extname(...)