The most commonly used HTTP verbs POST, GET, PUT, DELETE are similar to CRUD (Create, Read, Update, Delete) operations in database.
1) POST: POST method means Create new resources. On successful creation, return HTTP status code 201, returning a locaion header with a link to the newly-created resource.
A web server is a software and hardware that uses HTTP(Hypertext Transfer Protocol) and other protocols to respond to the client requests made over the WWW. The main job of a web server is to display website content through storing, processing and delivering webpages to users. Beside HTTP, web servers support SMTP(Simple Mail ..) and FTP (File ..) used for mail, file transfer and storage.
1.Truthy and Falsy Values:
2. null vs undefined:
1. It is a library not a framework.
A framework is a combination of some modules and common things. Some decisions are already made for you. But React is just a library and you need to make all decisions by yourself. It helping you to build user interfaces using components…
1.Hoisting: Hoisting suggests that variable and function declaration are moved to the top of your code before execution.
The above code snippet is we call the function before we write the function and the code still works.
only declarations of the variable are hoisted, not initialization.
The Number.parseFloat() method returns floating-point of an argument. If the argument isn’t parsed, it returns NaN.
The Number.parseInt() and Number.parseFloat() are the almost similar. ButNumber.parseInt() returns only Integer.
NaN means not a number.
The Number.isNaN() method check whether the provided value is NaN and its type is number. The given value is to be exactly NaN.
isNaN() method returns true if given arguments is not a number. And return false if the given value is a number.
charAt(), concat(), includes(), endsWith(), indexOf(), lastIndexOf(), replace(), slice(), split(), startsWith(), substr(), toLowercase(), toUppercase(), toString(), trim(), trimStart(), trimEnd()
1.charAt(): We can get any character of a string for an index number. If you don’t put the index num inside the charAt(), it will return the 1st character because the default value…