Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A implements OnInit {
- stringArr: string[];
- ngOnInit() {
- for(let i=0; i<4; i++) {
- this.stringArr.push("aaa");
- }
- }
- }
- stringArr: string=[];
- ngOnInit() {
- for(let i=0; i<4; i++) {
- this.stringArr.push("aaa");
- }
- }
Add Comment
Please, Sign In to add comment