2013-03-21 聚會手記

上一週 || 下一週

Table of Contents

KuangChe

JavaScript忍之道2::百謎決戰-iT邦幫忙XJSDC

console.log("jsdc2013".replace("2013","$`"));

$‘ (backtick) inserts the text to the left of the regex match
$’ (single quote) inserts the text to the right of the regex match
$$ inserts a single dollar sign

除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License