Results 1061 - 1080 of 1,243

Console.assert()

Writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
API console Console debugging Debugging DOM Method NeedsBrowserCompatibility web console Web Development

Console.dir()

Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.
API console console.dir Debugging debugging dir DOM JSON Method NeedsBrowserCompatibility web console Web Development