Posts

Showing posts from August, 2021

web 2

 2.html <! DOCTYPE   html > < html > < head >      < title > Closure </ title >      < script   type = "text/javascript" >                   function   cost (){          var   c  =  prompt ( "Enter the price of product" );              function   price (){                  var   pr  =  c * 1.5 ;                  console . log ( pr )             }              return   price ;  ...