Calling a JS function without parentheses?

111 Views Asked by At

How the following code makes a call to odata function, is this a new language feature? what is the name of this new language feature and where can I find its reference?:

const { odata, TableClient } = require("@azure/data-tables");
const priceListResults = client.listEntities({
    queryOptions: { filter: odata`price le 6` }
  });

Btw, I copied the above piece of code from here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/queryEntities.js

1

There are 1 best solutions below

0
On BEST ANSWER