Answers for "print map object nodejs"

0

print map object nodejs

import * as util from "util";

const map: Map<string, string> = new Map();
map.set("test", "test");

const inspected: string = util.inspect(map);

console.log(inspected);
Posted by: Guest on June-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language