Skip to content

Class bound method without brackets syntax bug #1016

Open
@unclechu

Description

@unclechu
class Foo {
	normalMethod() {
		fetch(`/foo/bar/${this.foo.bar}`, {bar: 'baz'})
			.then(foo => bar);
	}
	
	boundMethodWithBrackets = () => {
		fetch(`/foo/bar/${this.foo.bar}`, {bar: 'baz'})
			.then(foo => bar);
	}
	
	boundMethod = () =>
		fetch(`/foo/bar/${this.foo.bar}`, {bar: 'baz'})
			.then(foo => bar);
}

vim-javascript-class-bound-method-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions