Message from JavaScript discussions

February 2018

— Why allcaps?

— 

It was about 3am, I wasn't paying attention, and I wasn't caring until it started bugging me later. I was looking at reference material and just went along with it.

— Now I just have a parsing issue, I'm trying to figure it out, I can't get anywhere until I get rid of it.

Message permanent page

— Does this look like it would come back null? apologies for the spam

— What variable exactly?

— Canvas. OR ctx. It doesn't think it exists.

— For reference on the script

— And how it looks in the document

— I think making a class usable with the

new
keyword is more or less the same route

— You already sort of have to do this with the search iterations when using them directly instead of a strategy

Message permanent page

— They are instantiated as generators, with some important arguments being fed into them via the

state
object after initialization

Message permanent page

— Ie

const myGen = dfs(myObj);
var state = myGen.next();
state.arguments.thing = 123;
state.tuple.extraObj = myObj2;

Message permanent page