加入abs function

This commit is contained in:
Sabrina 2020-10-25 16:31:27 +08:00
parent c07cec5f1c
commit 85202dedd8

View File

@ -25,6 +25,10 @@
function pow(a, b) { function pow(a, b) {
return Math.pow(a, b); return Math.pow(a, b);
} }
function abs(a) {
return Math.abs(a);
}
</script> </script>
</body> </body>
</html> </html>