题解 | #文件扩展名#
文件扩展名
https://www.nowcoder.com/practice/01ca4c6aa14249c2911f89baba9dc023
{"css":"","js":"","html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n </head>\n <body>\n \n <script>\n const _getExFilename = (filename) => {\n // 补全代码\n let arr=filename.split('.');\n return '.'+arr[arr.length-1];\n }\n </script>\n </body>\n</html>","libs":[]}