// Empty hash table
var hashObject = {};
// Hash table with two key:value pairs:
var hashObject = {"key1":"value1","key2":"value2"};
จะเขียน key แบบไม่มี quote ก็ได้ แต่ต้องไม่ตรงกับคำสงวน
var hashObject = {key : "value"}; // create
hashObject["key"] = "new value"; // add/replace
delete(hashObject["key"]); // delete
for (var i in object) // is equivalent to foreach
Check for a presence of a particular key:
if ("key" in hashObject) // returns true or false
Comments
อันนี้เป็
อันนี้เป็นภาษาอะไรหรือครับ โทษนะครับ พอดีว่า ไม่ค่อยรู้เรื่องคอมพ์
ตามมาจาก blog คุณ peetai
นั่นสิคับ
นั่นสิคับ ผมก็อยากรู้เหมือนกัล
more javascript themes
more javascript themes
Nice write up
Nice write up
Helpful. Thank you
Helpful. Thank you
Informative, but I need to
Informative, but I need to ask: is there a shortcut to this thing?
I found your post if much
I found your post if much informative for me. I was looking for Javascript Hash recently. Now I am very happy to find this feature. Thank you
The link is really
The link is really important. I appreciate u for the link. Thanks a lot. Carry on man.
Thanks for the algorithm.
Thanks for the algorithm.
Hi, I'm having trouble
Hi, I'm having trouble reading your site in Maxthon (I can barely make out the words). I've tried raising the font size using the style menu but that doesn't seem to work. Do you have any advice on what I can do? (Oh, and if it helps, I'm using Windows Vista) - weight loss tips around the world
Post new comment