Skip to content

Commit d64ab45

Browse files
philwilkschirag04
authored andcommitted
Improved variable naming in Readme.md (chirag04#184)
* Improved variable naming in Readme.md Also added a console.log line just to help people know what should be happening * Might as well make it const not var
1 parent 0d0a0f1 commit d64ab45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ const { InAppUtils } = NativeModules
3434
You have to load the products first to get the correctly internationalized name and price in the correct currency.
3535

3636
```javascript
37-
var products = [
37+
const identifiers = [
3838
'com.xyz.abc',
3939
];
40-
InAppUtils.loadProducts(products, (error, products) => {
40+
InAppUtils.loadProducts(identifiers, (error, products) => {
41+
console.log(products);
4142
//update store here.
4243
});
4344
```

0 commit comments

Comments
 (0)