Artem Kopchinskiy
Member since Mar 21, 2016
- Profile: /members/13109-artem-kopchinskiy.htm
- Comments: 6
Recent Blog Comments By Artem Kopchinskiy
-
Using Guard Conditions To Short-Circuit Object-Spread Operations In TypeScript 3.2.4
Posted on Apr 18, 2019 at 7:04 AM
@Ben, Thank you! I already used operator || before, like it shown in your last example. However this trick with && is new for me.... read more »
-
Using Guard Conditions To Short-Circuit Object-Spread Operations In TypeScript 3.2.4
Posted on Apr 13, 2019 at 5:54 AM
I didn't know that ( Math.random() < .5 ) && value2 returns object if left side operand is true . Something new every day )... read more »
-
Uploading Files With HttpClient In Angular 7.2.11
Posted on Apr 13, 2019 at 5:46 AM
Very useful information, thanks Ben!... read more »
-
Experimenting With Simple CRUD Operations Using PouchDB In Angular 2.1.1
Posted on Dec 12, 2016 at 7:09 AM
Hello, Ben! I just wanna ask about TypeScript in Angular 2. Should I use TS instead of ES6 for developing Angular 2 projects or it's not necessary? And what do you prefer? TS or ES6? Thanks.... read more »
-
Exploring ES6: Upgrade To The Next Version Of JavaScript By Dr. Axel Rauschmayer
Posted on Jul 20, 2016 at 5:11 AM
I'm looking forward for your further investigations in ES6, Ben!... read more »
-
Var For Life - Why Let And Const Don't Interest Me In JavaScript
Posted on Mar 21, 2016 at 7:46 AM
@Ben, How about this, for the first case: const sanitizedValue = value => { // Then, strip off all leading spaces. value = value.replace( /^\s+/, "" ); // Also, strip off all trailing spaces. value = value.replace( /\s+$/, "" ); }; As I think, it's still has detailed explan... read more »