Skip to content

unable to print result line by line

I am unable to print result in line by line,it’s coming in one line ,how to solve this…. I tried this code- Answer There is 2 issues in it: the for loop i you need to declare as a var or let(I recommend let) there is no replace method in array, you can use map in this case So you

Nested object in Joi schema

I’ve defined validation schema via Joi with nested object in AWS value: Then I put my schema to config module I’ve added inside .env file the next value for AWS variable: but I got the next error message after starting nest: typeof process.env.AWS returns a string and Joi doesn’t understand …

JavaScript animation not working properly

I have an animation that I’m using from codepen that worked well until a little while back when I was changing some things around. The animation code itself still works fine and is unchanged, but whatever I changed around in my HTML seems to have stopped it from functioning properly. Here’s the an…