13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
const { sqrt, power } = require("lib-name")
|
|
|
|
console.log("Example Power : ")
|
|
console.log("==========================")
|
|
console.log("Result of 2 = ", power(2))
|
|
console.log("Result of 4 = ", power(4))
|
|
|
|
|
|
console.log("Example Sqrt : ")
|
|
console.log("==========================")
|
|
console.log("Result of 4 = ", sqrt(4))
|
|
console.log("Result of 100 = ", sqrt(100))
|