reverse a number in javascript without using inbuilt function 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;
});