DEV Community

Functional Javascript
Functional Javascript

Posted on • Edited on

4 2

Popular Abbreviations in Software Development

JavaScript Abbreviations


JS
JavaScript


app
application


f
final
def: the final variable that will be returned from a func


arg
argument


param
parameter


arr
array


obj
object


objs
arr of obj


num
number


nums
arr of num


str
string


strs
arr of str


c
char
def: a single str character


func
function
note: as opposed to a method (i.e. a member of a Class)


nil
type: null | undefined


a
arr


elem
element of an arr


n
num


s
str


o
obj


k
keyName
type: str
def: the key part of a key-value pair


v
the value part of a key-value pair


v (2)
a variable of unknown type or of two or more possible types
type: any or union of types


n
needle
type: str or regex


h
haystack
type: str


ref
reference type
type: obj, arr


mut
mutate a ref type


dir
directory


recur
recursion


cb
callback func


db
database


coll
collection
def: used for noSql dbs like MongoDB


doc
document
def: an obj or key-value pair that represents a record in a noSql db


json
JavaScript Object Notation


regex
Regular Expression
type: RegExp


util
utility
utility file
def: a file with two or more utility funcs


POJ or poj
plain old javascript
type: obj


algor
algorithm


dfs
depth-first search


bfs
breadth-first search


seq
sequence
def: seq of nums, or seq of chars


h (2)
hashtable
type: obj


perf
performance


uniq
unique


dup
duplicate


len
length
def: char count in str, or elem count in arr


cnt
count
def: the number of items in an arr or set


sig
signature


p
pointer
note: other pointer variables include: i, j, k, left, right


AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay