You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consta={b: {c: Function()}}const{c}=a.bconstd={c(){console.log(typeofc)// should be function, is undefined}}
yields:
"use strict";vara={b: {c: Function()}};var_c=a.b._c;// this should be `c`, not `_c`vard={c: functionc(){console.log(typeof_c);}};// should be function, is undefined
The text was updated successfully, but these errors were encountered:
problem: https://babeljs.io/repl/#?experimental=false&evaluate=true&loose=false&spec=false&code=const%20a%20%3D%20%7Bb%3A%20%7Bc%3A%20Function()%7D%7D%0Aconst%20%7Bc%7D%20%3D%20a.b%0Aconst%20d%20%3D%20%7B%0A%20%20c%20()%20%7B%0A%20%20%20%20console.log(typeof%20c)%20%2F%2F%20should%20be%20function%2C%20is%20undefined%0A%20%20%7D%0A%7D
Input code
yields:
The text was updated successfully, but these errors were encountered: