Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript object access time complexity

In javascript objects are based on HashMaps
so accessing any property of Object takes constant time
Answer: O(1)
 
PREVIOUS NEXT
Tagged: #javascript #object #access #time #complexity
ADD COMMENT
Topic
Name
2+2 =