add sin function

This commit is contained in:
Sabrina 2020-10-25 16:54:08 +08:00
parent e396b2321a
commit 8978cd5f3f

View File

@ -29,10 +29,14 @@
function abs(a) { function abs(a) {
return Math.abs(a); return Math.abs(a);
} }
function cos(a) { function cos(a) {
return Math.cos(a) return Math.cos(a)
} }
function sin(a) {
return Math.sin(a);
}
</script> </script>
</body> </body>
</html> </html>