String.reverse MethodReturns a string in which the character order of the original string is reversed.object.reverse ( ) Arguments
Return ValueThe String.reverse method returns a string in which the character order of the original string is reversed.RemarksThe following example illustrates the use of the String.reverse method.Alert("?uoy ot drawkcab kool siht seoD".reverse()); Requirements |