update example
This commit is contained in:
parent
d293ac3aa4
commit
d7759ae004
@ -1,6 +1,12 @@
|
|||||||
const { sample } = require("lib-name")
|
const { sqrt, power } = require("lib-name")
|
||||||
|
|
||||||
console.log("Example : ")
|
console.log("Example Power : ")
|
||||||
console.log("==========================")
|
console.log("==========================")
|
||||||
console.log("Result of 2 = ", sample(2))
|
console.log("Result of 2 = ", power(2))
|
||||||
console.log("Result of 4 = ", sample(4))
|
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))
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
"author": "SL",
|
"author": "SL",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": false,
|
"private": false,
|
||||||
|
"repository": {
|
||||||
|
"url": "https://git.cubetiqs.com/s.long/js-lib-boilerplate"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
5242
yarn-error.log
Normal file
5242
yarn-error.log
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user