Better HN
topnewbestaskshowjobs
Log inSign up

ahulab

3 karma · joined Feb 21, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

another interesting way to understand JS classes is to look at the transpiled Babel output of a class definition and extension

[like this](https://babeljs.io/repl/#?babili=false&browsers=&build=&buil...)

comment 8y ago · link · parent

disclaimer: I haven't used or seen something like this before:

What does the workflow for this look like? Would you add this to your project for development purposes and use it to write selectors that are more efficient than you'd otherwise write. Or would it be used in tandem with protractor or a similar integration testing tool to make picking selectors for writing tests easier?