Skip to content

Commit

Permalink
Create methods path
Browse files Browse the repository at this point in the history
  • Loading branch information
timursevimli committed Feb 18, 2024
1 parent c038d36 commit 81fdcb9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/methods/a-simple.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
({
field: 'value',

add(a, b) {
return a + b;
},

sub: (a, b) => a - b,
});
9 changes: 9 additions & 0 deletions examples/methods/b-simple.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
({
field: 'value',

add(a, b) {
return a + b;
},

sub: (a, b) => a - b,
});

0 comments on commit 81fdcb9

Please sign in to comment.