why is there no Java script print function support in script node ?

The script node will not honor the javascript print function as the main purpose of introducing the script node was to execute the business logic. You should ideally be using the message node for printing any information to the user.

If the developers intention is to view the output returned by the logic at script node, store it into a context variable and look for the same in Session and Context data of Debug Console.