Technology

JavaScript – Object or Array or Facade?

GitHub Code I discovered something interesting today.  Apparently, you can treat an object like an array…or so I thought.  Reviewing a colleague’s code showed that you can add key/value entries to an existing object in a manner I would have associated with an array.  But, wait…its not an array 🙂 While simple in concept once… Continue reading JavaScript – Object or Array or Facade?

Technology

JavaScript -A Lamda Function

GitHubCodeCommit The next method is not an actual method or an operator, but a style of writing a function.  In the past, I would usually write something like this: function myFunction() { //do something here } However, like other languages, JavaScript allows you to write one line methods called Lambda’s.  This is useful for chaining .then()… Continue reading JavaScript -A Lamda Function