I am trying to save an array of objects sent from the server side in a client side var but for some reason the var is a just a long string of
"[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
insted of the actual array.
my code is as follows
html.no-js(lang='en')
//<![end if]
head
script(type='text/javascript')
var x = '#{Countries}';