Posts

Showing posts from August, 2021

important

 https://rapidapi.com/spamakashrajtech/api/corona-virus-world-and-india-data/ https://learnetto.com/blog/react-form-validation https://cdnjs.com/ ng update @angular/core @angular/cli ng update

node js important topic

 const getDocument= async()=>{ try{ 1...const result=awit STUDET//(modulename).find({name:"gaurav"}) 2.....const result=awit STUDET//(modulename).find({name:"gaurav"}).select({name:1}) 3.....const result=awit STUDET//(modulename).find({name:"gaurav"}).select({name:1}).limit(1) console.log(result);} catch(err){ console.log(err); } ...findbyidandupdate....it can find and get the result and do update in same time... 2 property we have to add same like we did in connection time..

GIT Topics

 https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository

hoisting,closure

 closures:--- function add(x) {  return function plus(y)   { return x+y;     }}var value=add(5); console.log(value(6));//reference of outer function is hold by inner function... Hoisting is JavaScript's default behavior of moving declarations to the top.