📅  最后修改于: 2022-03-11 15:01:25.600000             🧑  作者: Mango
var str = "Java Script Object Notation";
var matches = str.match(/\b(\w)/g); // ['J','S','O','N']
var acronym = matches.join(''); // JSON