Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Vamshi Vangapally vamshi4001

🏠
Working from home
Block or report user

Report or block vamshi4001

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
View Promise vs Return
var myFunc = function () {
myOtherFunc();
console.log('hi');
};
var myFunc2 = function(){
var deferred = jQuery.Deferred();
var x = myOtherFunc2(deferred);
x.then(function(data){
console.log(data);
You can’t perform that action at this time.