---
title: "Mayank Dubey (@binarysort) | Hashnode"
description: "Passionate Programmer. Read the latest articles by Mayank Dubey on Hashnode."
url: "https://hashnode.com/@binarysort"
---

@binarysort

# Mayank Dubey

@binarysort · Indore, India · Joined September 2019

Passionate Programmer

## Comments

[Well, most developers in India can't afford to buy a MacBook. They can't even afford surface laptops. That's why I bought a cheap Lenovo laptop which was fully customizable. I customized RAM and replaced HDD with SSD. Though I am not able to enjoy MacBook perks but my machine gets the work done and it's fast like very fast.](https://hashnode.com/forums/thread/as-a-developer-in-india-hailing-from-the-us-im-really-pissed-at-the-prices-of-apple-macbooks/comment/5da968de41111234386123b3)

Comment · Thread · Oct 18, 2019 · [As a developer in India hailing from the US, I'm really pissed at the prices of Apple Macbooks](https://hashnode.com/forums/thread/as-a-developer-in-india-hailing-from-the-us-im-really-pissed-at-the-prices-of-apple-macbooks)

[Contacts var is an array of objects. Variable x is used to access object at index x and prop var is used to access property inside the object at index 'x'. In javascript objects, properties can be accessed using two ways: dot notation or bracket notation. For dot notation, property must be a valid javascript identifier. For bracket notation, it should be a string (or symbol ). As prop variable is a string we can access its value using bracket notation. You can learn more about property accessing in javascript objects here](https://hashnode.com/forums/thread/why-it-returned-like-this-contactsxprop/comment/5d7fc46edba26cca4bdd1ee8)

Comment · Thread · Sep 16, 2019 · [Why it returned like this contacts\[x\]\[prop\] ?](https://hashnode.com/forums/thread/why-it-returned-like-this-contactsxprop)
