XHTMLOL

Javascript (5)


Hope is just unresolved promises

function ruin( [ ...dreams ] ) {
  return [];
}

export default function Hope( ...dreams ) {
  Promise.resolve( [ ...dreams ] )
    .then( ( [ ...allDreams ] ) => {
      return ruin( allDreams )
    } );
}



What do you .call() this?

 var these = _itshelf = itshelf = _shelf = shelf = _itself = itself =_self = self = _me = me = _that = that = _this = this;



Finally the Black Sheep Song Makes Sense

var this = that;
 var that = this;

var youCanGetWith = this || that;

while (youCanGetWith !="this" ||  youCanGetWith != "that"){

this = "where it's at";

}



Daniel-san asks Mr. Miagi some dumb questions sometimes

dojo.query(".are-classes-better-than [type=text]".style("display", "d'oh!");

 




Please Stop Managing Project Plans Like Javascript Variables

var project_start == project_launch - project_duration;

projectplan.write("the project starts 8 weeks before it ends");

if (project_start<=Today())

{

project_launch===project_launch;

}

else if (project_plan>=Today())
 {

project_launch===project_launch;

}
 else {projectplan.write("right on time");}