I have a collection of URL's, that I want to use as a constant file in my React-Native app.
export default {
  HTTP_HOST: 'http://192.168.1.5',
  SIGNUP_API: this.HTTP_HOST+'/services/registerMobileNumber.php',
};
When I import constant.js like below
import GLOBAL from '../../constant.js';
GLOBAL.HTTP_HOST works fine, 
but GLOBAL.SIGNUP_API gives undefined/services/registerMobileNumber.php 
How can I refer the key HTTP_HOST in the same object?
 
     
     
    