Aditya Gupta

Aditya Gupta

JavaScript Eval() Function

JavaScript Eval

JavaScript eval() method can execute a statement, expression, or a group of statements and return its completion value if it exists or undefined if there is no completion value. In simple words, if the parameter is an expression then it…

How to Add Layout in Next.js

Add Layout

Suppose you are creating a Next.js application and want the same components like header and footer on all your pages then you can add layout to make this happen. Let’s understand what it is and how to add it to…