Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AlexSW
· 4y ago · 0 comments
I had a quick look at the code to see how it worked and I feel like I'm being daft; where is line 28 getting the variable `soup` from?
https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48...
Comments
[–]
bobowzki
4y ago
It's introduced into the global scope on line 82. Too me this seems a bit obfuscated.
[–]
AlexSW
OP
4y ago
Ah good spot, thanks! I'd agree with you there...
[–]
wilj
4y ago
https://github.com/trakBan/spongebob-cli/blob/eac7eded094a48...
[–]
AlexSW
OP
4y ago
That's a local variable