Note: This post is work-in-progress learning-note and still in active development and updated regularly. In the previous learning-note posts, JavaScript (JS) functions: the basics, callback functions, declaration vs expression were discussed in detail. In this learning-note post, we will deep dive into another important function called the immediately invoked functions expressions (IIFEs) and discuss its […]
JavaScript Functions – Parameters Vs Arguments
Note: This post is work-in-progress learning-note and still in active development and updated regularly. In JavaScript (JS), functions and objects are very important component of JS language, often use of the terms parameters and arguments seems to be used interchangeably. For beginners, this could be confusing. Yes. there is some difference between parameters and arguments. […]
Some Pitfalls of Arrow Funtions
Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a separate post Understanding JavaScript Arrow Functions, arrow functions, its syntax, major features and some use case examples were discussed. Since arrow functions were added in ES6 as (i) shorter and concise syntax alternatives to autonomous functions , and (ii) […]
Jump Links – Linking to a Specific Section of a Webpage
WordPress does not contain a built-in link to jump to another section of the same page. This is especially useful in a long post to refer to lower section of the page. Such links are known as jump links or anchor links. Some benefits of jump link: To link to items in a table of […]
Understanding Computed Property Names
Note: This post is work-in-progress learning-note and still in active development and updated regularly. In a previous learning-post JavaScript Objects – The Basics, we discussed simple key:value object properties (values associated with properties). Before ECMAScript 2015(ES6), the property names in the object initializers were literals, mostly as static strings. The MDN documentation has detailed discussion […]
Sarah Drasner, an award-winning Speaker, Senior Developer Advocate at Microsoft, and Staff Writer at CSS-Tricks, has a very thoughtfully written post on Mourning as a Developer in Medium. I can relate one of her experiences: coding as a distraction. While I am learning WordPress & JavaScript it helps to get distracted from other things that are going on. It has been very helpful as well as productive get away for me too!
