MCPcopy Index your code
hub / github.com/prototypejs/prototype / $H

Function $H

src/prototype/lang/hash.js:21–23  ·  view source on GitHub ↗

section: Language, related to: Hash * $H([obj]) -> Hash * * Creates a [[Hash]] (which is synonymous to "map" or "associative array" * for our purposes). A convenience wrapper around the [[Hash]] constructor, with a safeguard * that lets you pass an existing [[Hash]] object and get it back

(object)

Source from the content-addressed store, hash-verified

19 * // -> 'Australia'
20**/
21function $H(object) {
22 return new Hash(object);
23};
24
25/** section: Language
26 * class Hash

Callers 11

test_helpers.jsFile · 0.85
hash.test.jsFile · 0.85
ajax.test.jsFile · 0.85
base.test.jsFile · 0.85
prototype.test.jsFile · 0.85
object.test.jsFile · 0.85
dom.test.jsFile · 0.85
request.jsFile · 0.85
getStorageFunction · 0.85
toQueryStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected