MCPcopy Index your code
hub / github.com/react/create-react-app / toObject

Function toObject

packages/react-error-overlay/fixtures/bundle.mjs:992–998  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

990var propIsEnumerable = Object.prototype.propertyIsEnumerable;
991
992function toObject(val) {
993 if (val === null || val === undefined) {
994 throw new TypeError('Object.assign cannot be called with null or undefined');
995 }
996
997 return Object(val);
998}
999
1000function shouldUseNative() {
1001 try {

Callers 1

bundle.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected