Skip to main content

Property Access

When dealing with objects you may need to access their properties which can be done with the . operator.

knot
import { foo } from "@/constants";
const propertyValue = foo.property;
knot
import { foo } from "@/constants";
const propertyValue = foo.property;