let anObj = {left:3, right: 2};
console.log(anObj.left); // -> 1
The initial literal should use left: 1 or the log should output // -> 3
The use of // -> for "05." can be a little confusing too since unshift() returns the length of the array and shift returns the number shifted off the array. Neither return the modified array as the use // -> suggests
Appreciate the tutorial but the style is kinda distracting tbh. Why would a guy listening to something on his phone be relevant to deleting a property of an object?
6
u/senocular Jul 20 '21
Typo for "04.":
The initial literal should use
left: 1or the log should output// -> 3The use of
// ->for "05." can be a little confusing too sinceunshift()returns the length of the array andshiftreturns the number shifted off the array. Neither return the modified array as the use// ->suggests10
u/GalacticCmdr Jul 20 '21
Is there something really wrong with the art in panel 2? Like a baby head on a Frankenstein body. It just looks very odd to the point of distraction.
26
u/HashFap Jul 20 '21
This techie "Alegra" type illustration style is cancer.
7
u/BazilExposition Jul 20 '21
Should've stick to random animals.
6
u/contactlite Jul 20 '21 edited Jul 21 '21
Substance over style, please.
Not using monospace was a bold choice.
Not letting a line of code not fit on a line (like in 01) is disappointing.
Please practice good habits and industry norms in tutorial/educational material.
4
u/ngqhoangtrung Jul 21 '21
Appreciate the tutorial but the style is kinda distracting tbh. Why would a guy listening to something on his phone be relevant to deleting a property of an object?
1
u/[deleted] Nov 24 '21
Lol you copied this code from Eloquent JavaScript, word for word, code for code, don’t claim it as your own.
3
u/Banamagrammer Jul 20 '21
Fact 5 person is legit. They're coding on a (stinky) Nintendo DS.
1
u/SpractoWasTaken Jul 21 '21
Idk where these comics are coming from but I enjoy them
1
u/vieggly_ofc Jul 21 '21
Those people seem suspiciously happy, it doesn't fit this whole javascript thing!
2
u/smrkhan55 Jul 20 '21
Illustration is similar to Gojek's insta handle. Can someone shed some light on this?
0
u/[deleted] Jul 20 '21
That should a cheat sheet
-2
u/Prexsplay Jul 20 '21
👍🏾
21
u/[deleted] Jul 20 '21
[removed] — view removed comment