I am working on the following code. How can I print out three url address like:
www.example/app
www.example/map
www.example/tap
var comp = ["app", "map", "tap"];
$(comp).each(function() {
var url = 'www.example/' + comp;
console.log(url);
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>