Create new Dictionary with javascript
I am trying to figure out how to do an C# "function" in javascript but am
having no luck!?
Here is the C#:
var parameters = new Dictionary<string,string>
{
{ "link", "http://mysite.com" },
{ "name", "This is an test" }
};
I want to think that I have to use "new Array" but am not sure how to do
this?
Any help is appreciated and thanks in advance :-)
No comments:
Post a Comment