Many methods in JavaScript uses callback functions. Let’s consider e.g. Array “map” method. You can have a variable containing array like: const numbers = [9, 8, 7, 6, 5, 4] and you can chenge all it’s elements by running a “map” method with a callback function which will do the same operation on every element in array, like e.g. multiplying…
Dev Bay - everything for programmers
I will show in this short article how to add “scroll to top” button or arrow. This is a popular solution used on blogs or “one page” websites – so in situation when web page has a long content, which require a lot of scrolling, then user has easy option to go smoothly to top of the website. There are…
I will show you in this article how to build totally the easiest REST API build with NodeJS with Express plugin with TypeScript in place. This may sound as hard task to do, but with this short tutorial you will get everything working in just a few easy steps. You will be able to proceed further on your own. What…
If you are running a website, you must know how annoying are AdBlock users. You try to give the best possible content for your users for free and you want simply to earn some money via e.g. Adsense, but some of the users are using AdBlock or related software, and with that, no ads would be displayed to them. This…
🠗 Skip reading – scroll down to solution 🠗 Why it is so important to verify if variable is an object or array? In JavaScript it is easy to be flooded. The same is with objects and arrays. Many times we must check if some variable is an object or array. Short example – we receive some data from REST…
JSON flatify is an application which allows you to copy-paste JSON text or upload a JSON file and convert its content into flat JSON syntax. You can use here whatever JSON syntax you want – even complex nested objects and arrays with values, and JSON FLATIFY app will consume it, and give you nice and clean FLAT JSON file to…
XML to Excel is application which allows you to copy-paste XML text or upload a XML file and convert its content into Excel XLS file. You can use here whatever XML syntax you want – even complex nested objects and arrays with values, and XML TO EXCEL app will consume it, and give you nice and clean Excel XLS or…
XML to CSV is application which allows you to copy-paste XML text or upload a XML file and convert its content into CSV file. You can use here whatever XML syntax you want – even complex nested objects and arrays with values, and XML TO CSV app will consume it, and give you nice and clean CSV file to download.…
JSON to CSV is application which allows you to copy-paste JSON text or upload a JSON file and convert its content into CSV file. You can use here whatever JSON syntax you want – even complex nested objects and arrays with values, and JSON TO CSV app will consume it, and give you nice and clean CSV file to download.…
Excel to XML is an application which allows you to upload a Excel file and convert its content into XML file. You can upload any kind of Excel extensions, like XLS, XLSX or Open Office Calc – ODS. As the result you will download a nice and clean XML file.  XML data format is widely used in software development…