// app.js
str = 'AppDividend';
console.log('Original String: ', str);
removeFirstChar = str.slice(1);
console.log('Removing the first character', removeFirstChar);
removeLastChar = str.slice(0, str.length - 1);
console.log('Removing the last character: ', removeLastChar);