Message from JavaScript discussions

May 2017

— Heh, even that's more work than I was willing to do

— 

You can get structure via static analysis, and then step through everything bit by bit for types/values etc

— There are tools which do this automatically

— Js is certainly vulnerable to automatic dynamic analysis too

— Yup

— You could even shim native structures

— Make a mock DOM API + a mock node API to cover all bases, then just log the calls

— Easy automatically done by many testing frameworks

— Also, how is this valid JS? isn't // a single-line comment?

— Very limited on phone, ignore the php part

— Https://pastebin.com/9cP6RMpF

— It is valid js ;)