0% found this document useful (0 votes)
4 views3 pages

Web Technologies NPM Assignment Submission

Uploaded by

naseerullah4041
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Web Technologies NPM Assignment Submission

Uploaded by

naseerullah4041
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Comsats University Islamabad

Lahore Campus

Course Title : Web Technologies


Assignment No. : NPM Assignment
Submitted By : NASEER ULLAH
Registration No. : SP20-BSE-088
Section : Repeaters
Submitted To : Sir Ali Hassan

“Deadline”

05-12-2024
NPM Link:
[Link]

Source Code:

[Link]
[Link] = {
add: (a, b) => a + b,
subtract: (a, b) => a - b,
divide: (a,b) => a/b,
multiply: (a,b) => a *b,
};

[Link]
const math = require('./index');
[Link]([Link](5, 3));
[Link]([Link](5, 3));
const divide = [Link](5, 3);
[Link]([Link](divide))
[Link]([Link](5, 3));

Output in Terminal:
[Link]

You might also like