Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript Next

Why Can't String.raw End With A Backslash?

String.raw can be used to create a string that contains backslashes, without having to double up th… Read more Why Can't String.raw End With A Backslash?

Why Does Assignment Using Await Within While Expression Not Retain Assigned Value?

Given the JavaScript code the expected result of done returned from fn() is true when done is assi… Read more Why Does Assignment Using Await Within While Expression Not Retain Assigned Value?

How To Filter Object Using Array.prototype.filter?

Given var arr = [1,2,true,4,{'abc':123},6,7,{'def':456},9,[10]] we can filter num… Read more How To Filter Object Using Array.prototype.filter?