Driver program
var head = null ; head = push ( head , ' ' ) ; head = push ( head , ' ' ) ; head = push ( head , ' ' ) ; head = push ( head , ' ' ) ; head = push ( head , ' ' ) ; if ( isPalindrome ( head ) ) document . write ( " " ) ; else document . write ( " " ) ;