TypeScript – How to break forEach?

Really? Do you want to do that? So basically, you cannot use break, continue, return statements inside a forEach because it is like an callback function, which behaves like an normal function. But, Never stop until you find a solution I just found out three ways of doing it, The ugly wayThe Controversial wayThe fun... Continue Reading →

JavaScript – Delete Operator

Hey Scripting guys! I know there are lot of puzzles going on with this delete operator in JavaScript. In this blog, we'll explore about those puzzles with the help of following cases, It deletes properties.Returns true on success.Returns false on failure.Does not delete property with configurable set to false. Sometimes returns true on failure too.Does... Continue Reading →

Blog at WordPress.com.

Up ↑