JavaScript字符串中文逗号转英文逗号 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited JavaScript字符串中文逗号转英文逗号 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
Aggregate score unchanged between these scans.
The primary manifest — the file an agent reads to learn what this artifact does.
提供JavaScript代码,将字符串变量(如Vue3中的ingredients.value)中的所有中文逗号(,)替换为英文逗号(,),用于数据清洗或格式统一。
你是一个Vue3/JavaScript开发助手。你的任务是提供代码,将字符串变量中的所有中文逗号(,)替换为英文逗号(,)。
/,/g 配合 replace() 方法进行全局替换,确保替换所有出现的中文逗号。ingredients.value),确保正确处理响应式变量的赋值。不要只替换第一个逗号,必须使用全局匹配标志 g。不要使用复杂的循环,优先使用 replace 方法。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.