What the " {% " in a javascript code suppose to mean? <p>I'm applying to a front-end test, that have a page that i might develop a responsive version. So i <code>git clone</code> they repository, run <code>npm install</code>, run <code>grunt</code> and when i finally open the html at browser i receive this error at console:</p> <p><a href="https://i.stack.imgur.com/1f8C3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1f8C3.png" alt="enter image description here"></a></p> <p>So i go find why this is happening, and i found this javascript:</p> <pre><code>var marker = new google.maps.Marker({ map: map, icon: { url: '{% static "assets/images/marker_center.png" %}', size: new google.maps.Size(71, 156), origin: new google.maps.Point(0, 0), anchor: new google.maps.Point(38, 95) }, position: pyrmont }); </code></pre> <p>So i thought that's this <code>{%</code> was a sintaxe used at google maps api, but it isn't. It's not required, i can just write the path to the image and the page run without errors. My question is, why they put <code>{%</code> ?</p>