1.Using arrow function:const first = ()=>{const greet='Hi';const second = ()=>{const name='john';console.error(greet);}return second;}const newFunc =first();Notes:here do call the function of first have to assign const variable and call that as variable name (Example:newFunc();)2.ClosuresExample:function createGreeter(greeting) { return function(name) { alert(greeting...
Popular Posts
-
NFI(Native Function Integration) programming code for application has been created in native(android application) .we can access through th...
-
Kony tool developed by java spring.java using java virtual machine and ...
-
1) Masters 1.0 (Now deprecated) No controllers 2) Components without contract Always has controller Instances always show complete...
Blog Archive
About Me
AbdulKareemOS
0. Root - CSS Variables 1. Resets 2. HTML Elements 2.1. Links 2.2. Images 2.3. Headings 3. Page Layout 3.1. Layout 3.2...