Welcome to part two of ECMAScript 6: Why Should I use it? If you missed part one, you can find it here. This time, we’ll be looking at the following features that ECMAScript 6 brings to the developer:
Tag: Array Methods
We’ll build a Calculator “class”, which will take care of the application logic. This Calculator, will have methods that we can access to pass it numbers, operations and
all sorts of cool stuff that’s it.
FCC Bonfire Series 148: Caesars Cipher
FreeCodeCamp has recently added a few more challenges to the site. One of them is Caesars Cipher. This bonfire will have us write a function that mimics the ages old encryption method allegedly used by Romans back in the day.
It’s one of the simplest and oldest encryption methods, and works by replacing each character in a word or sentence with another one down the alphabet (based on a shift amount). For this exercise, we are told to use a shift of 13. Let me show you an example using the word dog and a shift of three.
- d -> e, f, g
- o -> p, q, r
- g -> h, i, j
FCC Bonfire Series 146: No repeats please
No repeats please. This is a tough one, really. We are going to bruteforce this challenge instead of using clever mathematics this time around. Simply because it will let us do a few more things. […]
FCC Bonfire Series 145: Inventory Update
Today, we tackle the fourth bonfire within the Advanced Algorithm Scripting section, Inventory Update. The way I’m going to work through this problem is, as always, just one among a sea of possible solutions. With it, […]