changes
This commit is contained in:
parent
c9724f0f79
commit
06b25d2596
|
@ -5,6 +5,9 @@ function doing(name,sex) {
|
|||
|
||||
return `我是${name},我是已经${sex}岁`
|
||||
}
|
||||
function tj(n1,n2){
|
||||
return n1+n2;
|
||||
}
|
||||
export{
|
||||
pd,doing
|
||||
pd,doing,tj
|
||||
}
|
|
@ -1,2 +1,3 @@
|
|||
import { pd,doing } from "./Select_one.js";
|
||||
console.log(doing('张三','44'));
|
||||
import { pd,doing,tj } from "./Select_one.js";
|
||||
console.log(doing('张三','44'));
|
||||
console.log(tj(20,10));
|
Loading…
Reference in New Issue