MCPcopy Create free account
hub / github.com/nodejs/node / checkAttribute

Function checkAttribute

test/fixtures/wpt/resources/check-layout-th.js:14–19  ·  view source on GitHub ↗
(output, node, attribute)

Source from the content-addressed store, hash-verified

12}
13
14function checkAttribute(output, node, attribute)
15{
16 var result = node.getAttribute && node.getAttribute(attribute);
17 output.checked |= !!result;
18 return result;
19}
20
21function assert_tolerance(actual, expected, message)
22{

Callers 1

checkExpectedValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected