update example

This commit is contained in:
S.long 2020-08-28 15:40:28 +07:00
parent d293ac3aa4
commit d7759ae004
3 changed files with 5255 additions and 4 deletions

View File

@ -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("Result of 2 = ", sample(2))
console.log("Result of 4 = ", sample(4))
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))

View File

@ -7,6 +7,9 @@
"author": "SL",
"license": "MIT",
"private": false,
"repository": {
"url": "https://git.cubetiqs.com/s.long/js-lib-boilerplate"
},
"scripts": {
"build": "tsc",
"test": "jest",

5242
yarn-error.log Normal file

File diff suppressed because it is too large Load Diff