due to my learning, I usually use static class methods and OOP more than pure function and functional programming. Some of my work mates dont understand why and I dont know wich way is better. This is a piece of code for example:
const DynamoDbHelper = class DynamoDbHelper {
    static getTableProperties(tableName) {
       ...
    }
    static async updateTableReadAndWriteCapacities(tableName, readCapacityUnits, writeCapacityUnits) {
        ...
    }
}
module.exports.DynamoDbHelper = DynamoDbHelper;
can also be write:
module.exports.getTableProperties = (tableName) => {
    ...
}
module.exports.updateTableReadAndWriteCapacities = async(tableName, readCapacityUnits, writeCapacityUnits) => {
    ...
}
Wich solution is the better in this case?
 
    