1.0.0 • Published 2 years ago

vanillajs2021 v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

What is this?

Implementation of Callback , Promise and async-await.

installation

npm install vanillajs2021 --save

#usage

const { add,sum }=require('vanillajs')

add is promise-base
add(5,2).then(result=>console.log(result))

sum is callback-base
sum(5,2,(res)=>{
console.log(res)
})