Skip to content

Commit fd1a0a5

Browse files
authored
Update 9.2StaticFunctionAndNormalFunction.js
1 parent 13be54e commit fd1a0a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

OOPS/9.2StaticFunctionAndNormalFunction.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ class config{
1616
config.show(); //calling static fx
1717
const a=new config(); //calling normal function
1818
a.display();
19+
20+
// //OUTPUT
21+
// static show
22+
// { '1': 'hello' }
23+
// display show 1
24+
// static show
25+
// { '1': 'hello' }

0 commit comments

Comments
 (0)