加入function divide
This commit is contained in:
parent
f5cd025433
commit
db2d2ed936
@ -10,6 +10,10 @@
|
|||||||
function plus (a, b) {
|
function plus (a, b) {
|
||||||
return a+b;
|
return a+b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function divide(a, b) {
|
||||||
|
return a/b;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user