Creates a new View.
Example
async function createView() {
const me = await fin.Window.getCurrent();
return fin.View.create({
url: 'https://google.com',
name: 'viewNameCreate',
target: me.identity,
bounds: {top: 10, left: 10, width: 200, height: 200}
});
}
createView().then(() => console.log('View created.')).catch(err => console.log(err));