Friday, 26 March 2021

Angular tips

Angular Slice 

https://github.com/angular/angular/issues/31622

today task is coming data should display reverseorder which latest created first one

use slice(0,-2) to remove last two digits


to change order of an array use reverse method

yourArray.reverse()



No comments:

Post a Comment

Meet BootUI | Scan AI-Generated Code & Find What AI Missed !

 very usefull link to verify ai content https://www.youtube.com/watch?v=pULGt0Rme58 Click