BIG

 

 

	try{
		let objCheckValues              =   new Object();
			objCheckValues.supply_a03_pk    =   value1;
			objCheckValues.targetUrl        =   value2;

		console.log( objCheckValues );
		console.log( Object.entries(objCheckValues) );

		Object.entries(objCheckValues).forEach(
			function(Param){
				console.log( Param[0] );
				console.log( Param[1] );
				console.log( "---------------------------------" );

				if( Param[1] == undefined )
				{
					throw new SyntaxError( Param[0] + " is undefined" );
				}// end if
			}
		)// end forEach

		let json_params   =   JSON.stringify( objCheckValues );
		console.log( "json_params ::: " + json_params );

	}catch (err) {
		alert(err.message);
		console.log( err.message  );
	}// end try
LIST