Guest User

Untitled

a guest
Dec 13th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. const chars:{[index:string]:string} = {
  2. "A": "MSOJOQJ",
  3. "B": "JWIQWIQ"
  4. // ...
  5. };
  6.  
  7. let look = chars["A"];
  8.  
  9. chars["C"] = "HIHWQHQ"; // unsupported indexer
Add Comment
Please, Sign In to add comment