JavaScript Window.print

<button onclick="window.print()">Print this page</button>
Undefined