Skip to content

.get('prop') ​

Get ​

The .get('prop') method allows you to get a specific property from the object. It returns only the requested property.

javascript
// In this example, we will retrieve only the value of "date"
// Remember to replace PHP2JS with the Alias you have used.
PHP2JS.get("date");
// In this example, we will retrieve only the value of "date"
// Remember to replace PHP2JS with the Alias you have used.
PHP2JS.get("date");

Released under the MIT License.