【发布时间】:2018-05-08 11:20:27
【问题描述】:
因此,我在理解 Import/Export Statement 的输出时遇到了挫折。
所以假设,如果我做这样的事情
import React, { Component } from 'react';
import Cperson from '../components/person/person.js';
console.log(Cperson)
我在 console.log 中将此作为输出
Cpersons() {
_classCallCheck(this, Cpersons);
return _possibleConstructorReturn(this, (Cpersons.__proto__ || Object.getPrototypeOf(Cpersons)).apply(this, arguments));
}
谁能解释一下console.log 告诉我什么?
提前致谢
【问题讨论】:
-
可能重复:stackoverflow.com/questions/39137582/… 否则上下文可能过于宽泛而无法解释,请仅发布您面临的错误或问题。否则你可能永远得不到答案。
标签: javascript reactjs import