Dictionary.Add()
|
|
Syntax |
dictionaryobj.Add(key, item)
|
|
The Add() method adds new items to the dictionary using key, item pairs. |
The item can be of any type, but the key cannot be an array. |
Nothing is returned from this method. |
<html> <script language="JScript"> <!-- var fruits = new ActiveXObject("Scripting.Dictionary");
fruits.Add("A","AA");
fruits.Add("B","BB");
fruits.Add("O","CC");
--></script> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
|
|