Agreed. Using built-in methods are always better than reinventing the wheel. But, we still need to read project entry assuming it's index without knowing the extension. Is It .ts or .js?
These built-ins, helpful when knowing the full name with the extension included file.js. However, I tried to introduce a method to extract an anonymous extension.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks, David!
Agreed. Using built-in methods are always better than reinventing the wheel. But, we still need to read project entry assuming it's
index
without knowing the extension. Is It.ts
or.js
?These built-ins, helpful when knowing the full name with the extension included
file.js
. However, I tried to introduce a method to extract an anonymous extension.