请老师检查
来源:3-5 编程练习
芜湖呼
2022-02-13 20:58:40
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title></title> </head> <body> <script> //在此添加代码 const map = new Map(); map.set("name", "alex"); map.set("age", 18); map.set("sex", "male"); console.log(map); map.delete("age"); console.log(map); console.log(map.has("name")); </script> </body> </html>
1回答
好帮手慕慕子
2022-02-14
同学你好,代码实现是正确的,继续加油,祝学习愉快~
相似问题