Visual Studio Code trick to quickly assign fields in your JavaScript constructor

Published: 28 March 2020
on channel: Coding With Adam
6,102
43

Visual Studio Code trick to quickly assign fields in your JavaScript constructor

Are your tired of typing the following in your JavaScript constructor:
this.name = name;
this.isGreen = isGreen;

Here is a cool trick that uses the multi cursor functionality in Visual Studio Code to quickly assign your fields in the constructor of your JavaScript class.


On this page of the site you can watch the video online Visual Studio Code trick to quickly assign fields in your JavaScript constructor with a duration of hours minute second in good quality, which was uploaded by the user Coding With Adam 28 March 2020, share the link with friends and acquaintances, this video has already been watched 6,102 times on youtube and it was liked by 43 viewers. Enjoy your viewing!