Is there a way to pass an object array similar to the one below into res.render?
var DataArray = [
{"type": "c#", "script":"csharp script"},
{"type": "javascript", "script":"javascript script"},
{"type": "html", "script":"html script"}
]
I attempted using options, but it seems like it only accepts a string value and I couldn't get it to work properly (it displayed the default [object Object] value).
If anyone has any tips or solutions, I would greatly appreciate it!