-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECMA #50
Comments
1export default class DetailCard{
}
import DetailCard from '@/components/orderDetail/detailCard' |
迭代对象for (const value in that.model) {
if (that.model.hasOwnProperty(value)) {
console.log('value--', value);
}
} |
闭包
|
在浏览器中使用ES6的模块功能 import 及 export<script type="module">
import {addTextToBody} from './utils.js';
addTextToBody('Modules are pretty cool.');
</script> |
ECMA
The text was updated successfully, but these errors were encountered: