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

Function warn

docs/external/js/react.development.js:358–366  ·  view source on GitHub ↗
(format)

Source from the content-addressed store, hash-verified

356 // they are left as they are instead.
357
358 function warn(format) {
359 {
360 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
361 args[_key - 1] = arguments[_key];
362 }
363
364 printWarning('warn', format, args);
365 }
366 }
367 function error(format) {
368 {
369 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {

Callers 3

defineDeprecationWarningFunction · 0.70
traverseAllChildrenImplFunction · 0.70

Calls 1

printWarningFunction · 0.70

Tested by

no test coverage detected