Skip to content

Commit 15eb673

Browse files
use new-object
1 parent 6485f8e commit 15eb673

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
$obj = [CLS]::new(42, 'hello world')
1+
$obj = [CLS]::new(42, 'hello world')
2+
$anotherObj = new-object CLS 99, 'ninety-nine'

0 commit comments

Comments
 (0)