Skip to content

Instantly share code, notes, and snippets.

Hong Tran hongttran

  • Uber Technologies Inc.
  • Houston, TX
Block or report user

Report or block hongttran

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hongttran
hongttran / Cheap ride sharing in Houston
Last active May 9, 2017
Help users find the best price for their ride service, using the Uber API and others in the Houston Market
View Cheap ride sharing in Houston
https://developer.lyft.com/reference - LYFt (currently not in Houston), Need to check
https://developer.uber.com/ - Uber
https://www.goarro.com/ - Arro
https://www.ztrip.com/Default.aspx - Z-trip
https://www.wingz.me/ - Wingz
https://www.getme.com/ - GetMe
Comparing between ride share apps which company is offering the best price at the time of the drive request
View In Own Words - Unit 2, Lesson 5, Assignment 4
A scope would be the global and local scope, which is a set of variables, objects and functions in which global scopes can be accessed outside of the function, and local scope can only be accessed from inside of the function.
Global scopes tend to be avoided because since it is not specifically declared, it could override commands of the local scopes leading to a lot of bugs and errors which would require debugging.
Javascript strict mode is when it prevents certain actions and allows more exception. It could allow an error to take place is a variable is not declared.
A side effect is when a global function overrides the local function and unintentionally modifies, while a pure function does not modifity the variables outside of the scope and returns the same results if the same system is being used.
Hosting is the way a JS interpeter finds the variable declaration in a scope, and moves it to the top of that scope.
You can’t perform that action at this time.