Top Menu

Friday, February 28, 2014

JavaScript Key Array

Today I discovered that javascript now supports Key Value Arrays....sweeeet.
<script type="text/javascript">

var Key = {
  a : "hello",
  b: "world"
}

alert(Key.a);
alert(Key.b);

</script>

No comments:

Post a Comment

Official SharePoint Documentation

I have recently contributed to the official SharePoint documentation for developement. Check it out here: https://docs.microsoft.com/en-us...