Author Archives: Gowri

About Gowri

I am professional web developer with 8+ years experience. PHP, jQuery, WordPress, Angular and Ionic are my key skills in web development. I am working with strong enthusiastic team with spirit. We provide all web related solution like HTML/CSS development, Web graphic design and Logo.

Javascript sort string by last two digit

on

I have order id with combination of string and alpha characters like “30000-T04”, “30000-T10”, “30000-T05”, “30000-T01”, I want to sort this in ascending order. So let’s see how to do that. To sort an array of strings by the last two digits, you can use the sort() method with a custom comparison function that extracts […]

Read more..

Generate n-bits sequence code in Javascript

on

Recently, I came across code challenge to generate n-bits sequence code in Javascript. The challenge was need to create a function to print the n-bit sequence codes by given number. I’m just sharing the coding experience here, so someone will get benifited in feature visitor. Example : 2-bit code sequences Input : 2 Output : […]

Read more..