MCPcopy Index your code
hub / github.com/MoonHighway/learning-react / toObject

Function toObject

chapter-12/server-render-recipes/assets/bundle.js:375–381  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

373var propIsEnumerable = Object.prototype.propertyIsEnumerable;
374
375function toObject(val) {
376 if (val === null || val === undefined) {
377 throw new TypeError('Object.assign cannot be called with null or undefined');
378 }
379
380 return Object(val);
381}
382
383function shouldUseNative() {
384 try {

Callers 1

bundle.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected