当前位置:网站首页>Niuke JS2 file extension
Niuke JS2 file extension
2022-07-02 17:23:00 【Drowned fish u】
Cattle guest JS2 File extension
Title Description
Please complete it JavaScript Code , The file name extension is required to be returned as a string , The file name parameter is "filename".
Answer key :split(‘,’) Split string , Returns a split string array .reverse() Inverted array , Spell it ‘.’ return .
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<script> const _getExFilename = (filename) => {
// The completion code let arr = filename.split('.') arr.reverse() return '.' + arr[0] } </script>
</body>
</html>
边栏推荐
- 剑指 Offer 24. 反转链表
- 【征文活动】亲爱的开发者,RT-Thread社区喊你投稿啦
- Briefly introduce the use of base64encoder
- IP地址转换地址段
- [fluent] dart data type map type (create map set | initialize map set | traverse map set)
- helm kubernetes包管理工具
- 默认浏览器设置不了怎么办?
- 简单介绍BASE64Encoder的使用
- [shutter] dart data type (dynamic data type)
- Sword finger offer 26 Substructure of tree
猜你喜欢

871. Minimum refueling times

一文看懂:数据指标体系的4大类型

绿竹生物冲刺港股:年期内亏损超5亿 泰格医药与北京亦庄是股东

Qstype implementation of self drawing interface project practice (II)

Error when uploading code to remote warehouse: remote origin already exists
![[shutter] dart data type (dynamic data type)](/img/6d/60277377852294c133b94205066e9e.jpg)
[shutter] dart data type (dynamic data type)

【Leetcode】14. 最長公共前綴

Seven charts, learn to do valuable business analysis

Exploration of mobile application performance tools

剑指 Offer 22. 链表中倒数第k个节点
随机推荐
几行代码搞定RPC服务注册和发现
IP address translation address segment
体验居家办公完成项目有感 | 社区征文
Does digicert SSL certificate support Chinese domain name application?
PCL知识点——体素化网格方法对点云进行下采样
[leetcode] 14. Préfixe public le plus long
关于我
Tech talk activity preview | building intelligent visual products based on Amazon kVs
si446使用记录(二):使用WDS3生成头文件
Nexus简介及小白使用IDEA打包上传到Nexus3私服详细教程
The impact of telecommuting on all aspects of our experience | community essay solicitation
【Leetcode】13. 罗马数字转整数
智能垃圾桶(五)——点亮OLED
Understand one article: four types of data index system
13、Darknet YOLO3
si446使用记录(一):基本资料获取
剑指 Offer 21. 调整数组顺序使奇数位于偶数前面
【Leetcode】14. 最長公共前綴
[shutter] dart data type (dynamic data type)
求简单微分方程