Request Dev Services »

cdev.co / Notes /

How to use classes in JavaScript

In object-oriented programming, the code, methods, attributes, and other information that make up an object can be organized into “classes”, the class construct allows to define prototype-based classes with a … Read More »

What is an anonymous function in JavaScript?!

  • An anonymous function, is basically a function without a name or may also be referred to as a self-invoking inline function.
  • Take functions stored in variables, for instance, if
Read More »

Interactive Angular auto-fill with fun results (JS front-end demo)

Using JS and Angular this is how we accomplish the input drop-down autofill functionality.  You’ll see I’m getting the input value, then I’m storing the auto-complete values in an array … Read More »

Pertaining to using ‘.this’ in JavaScript (Tip)

Should you use the “this” object, or is that unnecessary and redundant?

Consistently using ‘this’ for object reference; while not particularly always required is a great idea in my opinion. … Read More »

Get user coordinates without SSL or Geolocations (JS tip)

Sadly, the great Geolocations API is following the current trend of requiring a SSL or secure HTTPS requests – yes, it’s probably good for the long run, but kill those … Read More »