将代码 const person = name John Doe age 30 gender male occupation web developer ;把名称提取出来请生成js源码并存放在script中
<script>
const personName = "John Doe";
const personAge = 30;
const personGender = "male";
const personOccupation = "web developer";
</script>
原文地址: http://www.cveoy.top/t/topic/9Ar 著作权归作者所有。请勿转载和采集!