lab 04: node debugging, GET date API, file read/write (OOP)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b8a795060b
commit
eb3328ff1c
6 files changed
+152
No files matched your search
@@ -0,0 +1,13 @@
|
||||
const PI = 3.141592654;
|
||||
|
||||
exports.add = (a, b) => {
|
||||
return a + b
|
||||
}
|
||||
|
||||
exports.subtract = (a, b) => {
|
||||
return a - b
|
||||
}
|
||||
|
||||
exports.area = (r) => {
|
||||
return 2*PI*r;
|
||||
}
|
||||
Reference in new issue
Block a user