Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const fs = require("fs");
- const data = fs.readFileSync("hello.txt");
- console.log(data.toString())(async function readData() {
- const data = await fs.readFile("hello.txt");
- console.log(data.toString);
- })();
- const val = useMemo(() => {
- return 5 * 10;
- }, []);
- // import React.lazy()
- // <Suspense fallback={Loading} >
- // <LazyLoadedComponent/>
- // </Suspense>
- // const decode = jwt.verify(token,secret)
- function extractMin( curr= this.root ){
- if(!curr.left){
- return curr.val
- }else{
- extractMin(curr.left)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement