| var names = [ |
| "namespaceURI", |
| "prefix", |
| "localName", |
| "tagName", |
| "id", |
| "className", |
| "classList", |
| "slot", |
| "part", |
| "attributes", |
| "shadowRoot", |
| "role", |
| "ariaActiveDescendantElement", |
| "ariaAtomic", |
| "ariaAutoComplete", |
| "ariaBusy", |
| "ariaChecked", |
| "ariaColCount", |
| "ariaColIndex", |
| "ariaColSpan", |
| "ariaControlsElements", |
| "ariaCurrent", |
| "ariaDescribedByElements", |
| "ariaDetailsElements", |
| "ariaDisabled", |
| "ariaErrorMessageElements", |
| "ariaExpanded", |
| "ariaFlowToElements", |
| "ariaHasPopup", |
| "ariaHidden", |
| "ariaInvalid", |
| "ariaKeyShortcuts", |
| "ariaLabel", |
| "ariaLabelledByElements", |
| "ariaLevel", |
| "ariaLive", |
| "ariaModal", |
| "ariaMultiLine", |
| "ariaMultiSelectable", |
| "ariaOrientation", |
| "ariaOwnsElements", |
| "ariaPlaceholder", |
| "ariaPosInSet", |
| "ariaPressed", |
| "ariaReadOnly", |
| "ariaRelevant", |
| "ariaRequired", |
| "ariaRoleDescription", |
| "ariaRowCount", |
| "ariaRowIndex", |
| "ariaRowSpan", |
| "ariaSelected", |
| "ariaSetSize", |
| "ariaSort", |
| "ariaValueMax", |
| "ariaValueMin", |
| "ariaValueNow", |
| "ariaValueText", |
| "scrollTop", |
| "scrollLeft", |
| "scrollWidth", |
| "scrollHeight", |
| "clientTop", |
| "clientLeft", |
| "clientWidth", |
| "clientHeight", |
| "outerHTML", |
| "onfullscreenchange", |
| "onfullscreenerror", |
| "innerHTML", |
| "previousElementSibling", |
| "nextElementSibling", |
| "children", |
| "firstElementChild", |
| "lastElementChild", |
| "childElementCount", |
| "assignedSlot", |
| "hasAttributes", |
| "getAttributeNames", |
| "getAttribute", |
| "getAttributeNS", |
| "setAttribute", |
| "setAttributeNS", |
| "removeAttribute", |
| "removeAttributeNS", |
| "toggleAttribute", |
| "hasAttribute", |
| "hasAttributeNS", |
| "getAttributeNode", |
| "getAttributeNodeNS", |
| "setAttributeNode", |
| "setAttributeNodeNS", |
| "removeAttributeNode", |
| "attachShadow", |
| "closest", |
| "matches", |
| "webkitMatchesSelector", |
| "getElementsByTagName", |
| "getElementsByTagNameNS", |
| "getElementsByClassName", |
| ]; |
| |
| function test() |
| { |
| var object = $vm.toCacheableDictionary({}); |
| for (let name of names) |
| object[name] = name; |
| return object; |
| } |
| noInline(test); |
| |
| for (var i = 0; i < 3e4; ++i) |
| test(); |
| |