Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 166 Bytes

addDollar.md

File metadata and controls

17 lines (13 loc) · 166 Bytes

add dollar

add dollar

const a = '123';
const b = {} as {[key: string]: number};

b[a] = 123;
$a = "123";
$b = array();
$b[$a] = 123;