Friday, November 9, 2018

Difference between function declarations and class declarations in JavaScript

JavaScript function declarations are hoisted (i.e., can be referenced before they're declared) but class declarations are not. 

This means we must first declare our class before attempting to access (or reference) it; if we fail to do so, our code throws a ReferenceError.

Featured Post

Per DNS specifications (RFCs), a domain cannot have a CNAME record and another DNS record of a different type if both records would share the same name.

DNS RFCs also require an MX record to correspond to a related A record and not a CNAME. This is problematic when you need a CNAME for your ...