Using some js object like
links = {
link1: "Text1",
link2: "Text2",
link3: "Text3"
};
I want to create several <a> elements with href from keys and content from values, like
<a href="link1">Text1</a>
<a href="link2">Text2</a>
<a href="link3">Text3</a>
What is the best and the shortest way to do it using js or some popular js frameworks?