N | JavaScript program to find n - th number which is bothsquare and cube . ; Driver code
function nthSquareCube ( n ) { return n * n * n * n * n * n ; } let n = 5 ; document . write ( nthSquareCube ( n ) ) ;