on 06-20-2019 3:10 PM
Hi all,
could anybody please explain the notation bracket followed by curly bracket.
When do we have to use it?
Example - in second line : new sap.m.Image({
sap.ui.getCore().attachInit(function () {
var oImage = new sap.m.Image({
src: "img/UI5_logo.png",
decorative: false,
alt: "SAPUI5 Logo"
}).placeAt("content");
Thanks, regards
Mario
Hi Jun,
sure?
I only know and found
constructor() {}
Here the curly bracket is not nested.
see also:
JavaScript Object Constructors
Regards
Mario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
11 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.