-
Notifications
You must be signed in to change notification settings - Fork 1
get
Subhajit Sahu edited this page Jun 12, 2020
·
14 revisions
object.get(x, k);
// x: an object
// k: key
const map = require('extra-map');
var x = new Map([['a', 2], ['b', 4], ['c', 6], ['d', 8]]);
map.get(x, 'b');
// 4
map.get(x, 'd');
// 8