I wonder if anyone on this forum has any exeriance with server side java script?

I have a situation where I need to loop through a form post using SSJS.

for example with php I would do it this way:

PHP Code:
foreach($_POST as $key => $val){
    print(
$key.'<=>'.$val.'<br />');
    } 
thanks