MCPcopy Index your code
hub / github.com/microsoft/SandDance / warn

Function warn

docs/external/js/react-dom.development.js:39–47  ·  view source on GitHub ↗
(format)

Source from the content-addressed store, hash-verified

37 // they are left as they are instead.
38
39 function warn(format) {
40 {
41 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
42 args[_key - 1] = arguments[_key];
43 }
44
45 printWarning('warn', format, args);
46 }
47 }
48 function error(format) {
49 {
50 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {

Callers 5

setFunction · 0.70
getFunction · 0.70
unstable_createPortalFunction · 0.70

Calls 2

printWarningFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected