MCPcopy Create free account
hub / github.com/microsoft/SandDance / error

Function error

docs/tests/v2/es6/js/sanddance.js:34211–34217  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

34209 * @param {string} msg Message to log.
34210 */
34211var error = function(msg) {
34212 if (window.console && window.console.error) {
34213 window.console.error(msg);
34214 } else {
34215 log(msg);
34216 }
34217};
34218
34219
34220/**

Callers 1

makeDebugContextFunction · 0.70

Calls 2

logFunction · 0.70
errorMethod · 0.45

Tested by

no test coverage detected