vue/11-前端模块化开发Webpack(Node.js基础)/02-ES6模块化的实现/Use_one.js

17 lines
400 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import * as dos from "./Select_one.js";
function doings(pd){
if (pd == true) {
console.log(`${name}我在做作业`);
} else {
console.log('你好呀');
}
}
console.log(dos.doing("小小", "22"));
console.log(dos.pd);
export let content="你好啊webpack"
export function fun() {
let name="张三"
let height="1.78"
let content=`${name}的身高${height}cm`
return content
}