Javascript

Total 71 Posts

Messing around with ES6, Promises and Geo

I'm working on a project that requires me to capture latitude, longitude, an array of zip codes, and country information using a single IP address.  It thought it might be helpful to share an example of how to do that using ES6. I've written the examples using Class methods and

Finance: Calculating Annuities using ES6

Annuities are cool. They're fixed payments over a period of time. If you're living in England, there's another financial product called a consol that is an annuity that pays out in perpetuity. Amazing. Below are simplified examples of how to calculate present value and future value for annuities. I wasn't

Finance: College Fund and Loan Amount Estimator using Es6

Similar to my previous article, here are some formulas that can help you estimate how much you need to save for your kid's college tuition or what your monthly mortgage payment will look like if you buy that house. Loans class Loan { payments(PV, IR, NP){ var PMT = (PV * IR)