JavaScript with LinkedIn Learning, Day 2

Bracket Notation The first big thing today was learning about accessing the properties of different objects. The standard notation – aka, what I’m used to – is dot notation (object.property), but today I discovered bracket notation, which looks like object[“property”]. This is used for cases where the property is a variable rather than a constant, or the property might not conform to JavaScript naming conventions (basically, there’s nothing preventing an object or variable from being named in a way that… Read moreJavaScript with LinkedIn Learning, Day 2

JavaScript with LinkedIn Learning, Day 1(ish)

As per usual, the “first” day was all setup, and the real day one is where the learning starts. I’m following along with this tutorial in LinkedIn Learning, to get familiar with some of the basics of JavaScript. Fun Little Tidbits Special Commenting Trick: First, I learned that you can put your cursor on a line of code (or highlight multiple lines) hit CTRL+/ in order to comment out those line(s). Probably old news for some people, but absolutely magic… Read moreJavaScript with LinkedIn Learning, Day 1(ish)