how to reverse a number in javascript without using built in functions code example
Example: reverse a number in javascript without using inbuilt function
'ABC PQR XYZ'.split('').reduce((state, value) => {
return value + state;
});
'ABC PQR XYZ'.split('').reduce((state, value) => {
return value + state;
});